Displaying 1 result from an estimated 1 matches for "cn_state_sum_log".
2009 Nov 04
3
Cannot Change Function (PR#14041)
...n(4)}
}
When I try to run it in the loop:
for (j in 1:length(BB_mean_ref)){ # find copy number states (0 for homozygous
deletion, 1 for hemizygous deletion, 2 for neutral, 3 for single amplification,
4 for multiple amplification)
state_log_sum[j]=CN_state_log_sum(Tot_log_sum[j])
state_sum_log[j]=CN_state_sum_log(Tot_sum_log[j])
}
I get the error message:
Error in Im(Tot_sum_log) != 0 || Re(Tot_sum_log) <- 2 :
could not find function "||<-"
Originally, I had defined the function:
CN_state_log_sum=function(Tot_log_sum){ #estimate copy number state for the log
sum approach
if(Im(Tot_log_s...