search for: coveragecutoff

Displaying 1 result from an estimated 1 matches for "coveragecutoff".

2012 Apr 26
0
Problem with constrOptim when hitting boundary
...EMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] tools_2.15.0 My function: eventTiming<-function(x,m,history, exactAllele=FALSE,normCont=0,verbose=FALSE,coverageCutoff=1,minMutations=10){ A<-history if(is.null(dim(A))) stop("'history' should be a matrix of size nCopies x (nEvents +1)") nCopies<-nrow(A) K<-ncol(A)-1 possAlleles<-(1:nCopies)/nCopies*(1-normCont) nMuts<-length(x) if(length(m)!=nMuts) stop("x and m must...