Description Usage Arguments Value Author(s) References See Also Examples
View source: R/processMultipleSamples.R
This function performs normalization and segmentation when multiple for the same patient are available.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | processMultipleSamples(
tumor.coverage.files,
sampleids,
normalDB,
num.eigen = 20,
genome,
plot.cnv = TRUE,
w = NULL,
min.interval.weight = 1/3,
max.segments = NULL,
chr.hash = NULL,
centromeres = NULL,
...
)
|
tumor.coverage.files |
Coverage data for tumor samples. |
sampleids |
Sample ids, used in output files. |
normalDB |
Database of normal samples, created with
|
num.eigen |
Number of eigen vectors used. |
genome |
Genome version, for example hg19. Needed to get centromere positions. |
plot.cnv |
Segmentation plots. |
w |
Weight of samples. Can be used to downweight poor quality samples.
If |
min.interval.weight |
Can be used to ignore intervals with low weights. |
max.segments |
If not |
chr.hash |
Mapping of non-numerical chromsome names to numerical names
(e.g. chr1 to 1, chr2 to 2, etc.). If |
centromeres |
A |
... |
Arguments passed to the segmentation function. |
data.frame
containing the segmentation.
Markus Riester
Nilsen G., Liestol K., Van Loo P., Vollan H., Eide M., Rueda O., Chin S., Russell R., Baumbusch L., Caldas C., Borresen-Dale A., Lingjaerde O. (2012). "Copynumber: Efficient algorithms for single- and multi-track copy number segmentation." BMC Genomics, 13(1), 591.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | normal1.coverage.file <- system.file("extdata", "example_normal.txt",
package="PureCN")
normal2.coverage.file <- system.file("extdata", "example_normal2.txt",
package="PureCN")
tumor1.coverage.file <- system.file("extdata", "example_tumor.txt",
package="PureCN")
tumor2.coverage.file <- system.file("extdata", "example_tumor2.txt",
package="PureCN")
normal.coverage.files <- c(normal1.coverage.file, normal2.coverage.file)
tumor.coverage.files <- c(tumor1.coverage.file, tumor2.coverage.file)
normalDB <- createNormalDatabase(normal.coverage.files)
seg <- processMultipleSamples(tumor.coverage.files,
sampleids = c("Sample1", "Sample2"),
normalDB = normalDB,
genome = "hg19")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.