Skip to content

Commit b30155f

Browse files
committed
Fixed issue #2: Added description for constants
1 parent e7d34a4 commit b30155f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

scripts/cnvAnalysis.R

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,11 +336,13 @@ CBSSegment01 <- function(varbin.gc, bad.bins.file,
336336
main <- function() {
337337

338338
# CONSTANTS
339-
## Parameters as in 'Baslan, Timour, et al. "Genome-wide copy number analysis of single
340-
## cells." Nature protocols 7.6 (2012): 1024.'
339+
## Number of permutations for p-value computation
340+
kNPermutations <- 1000
341+
## Significance level for the test to accept segment change points
341342
kAlphaValue <- 0.02
342-
kNPermutations <- 1000
343+
## Number of standard deviations between mean ratio to keep a segment
343344
kStandardDev <- 0.5
345+
## Minimum number of bins for a changed segment
344346
kMinWidth <- 4
345347

346348
args = commandArgs(trailingOnly=TRUE)

0 commit comments

Comments
 (0)