View source: R/validateCNpreprocessing.R
| validateCNpreprocessing | R Documentation |
CNpreprocessing functionValidation of all parameters needed by the public
CNpreprocessing function.
validateCNpreprocessing( segall, ratall, idCol, startCol, endCol, medCol, madCol, errorCol, chromCol, bpStartCol, bpEndCol, annot, annotStartCol, annotEndCol, annotChromCol, useEnd, blsize, minJoin, nTrial, bestBIC, modelNames, cWeight, bsTimes, chromRange, nJobs, normalLength, normalMedian, normalMad, normalError )
ratall |
A |
idCol |
A |
startCol |
A |
endCol |
A |
medCol |
A |
madCol |
A |
errorCol |
A |
chromCol |
A |
bpStartCol |
A |
bpEndCol |
A |
annot |
A matrix or a |
annotStartCol |
A |
annotEndCol |
A |
annotChromCol |
A |
useEnd |
A single |
blsize |
A single |
minJoin |
A single numeric value between 0 and 1 specifying the degree of overlap above which two clusters will be joined into one. |
nTrial |
A single positive |
bestBIC |
A single |
modelNames |
A |
cWeight |
A single |
bsTimes |
A single positive |
chromRange |
A |
nJobs |
a single positive |
normalLength |
An integer |
normalMedian |
A numeric |
normalMad |
A numeric |
normalError |
A numeric |
0.
Astrid DeschĂȘnes
data(segexample)
data(ratexample)
data(normsegs)
## Return zero as all parameters are valid
CNprep:::validateCNpreprocessing(segall=segexample,
ratall=ratexample, idCol="ID", startCol="start", endCol="end",
chromCol="chrom", bpStartCol="chrom.pos.start",
bpEndCol="chrom.pos.end", blsize=50, nTrial=10,
useEnd=FALSE, minJoin=0.25, cWeight=0.4, bsTimes=50, chromRange=1:3,
nJobs=1, modelNames="E", normalLength=normsegs[,1],
normalMedian=normsegs[,2])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.