Description Usage Arguments Value Author(s) Examples
View source: R/readSegmentationFile.R
Read segmentation files produced by DNAcopy, CNVkit or GATK4.
1 2 3 4 5 6 7 8 | readSegmentationFile(
seg.file,
sampleid,
model.homozygous = FALSE,
format,
zero = FALSE,
verbose = TRUE
)
|
seg.file |
File with segmentation |
sampleid |
Sampleid, for segmentation files containing multiple samples |
model.homozygous |
Unless |
format |
File format. If missing, derived from the file extension. Currently DNAcopy, and GATK4 (ModelSegments) format supported. CNVkit uses DNAcopy format. |
zero |
Start position is 0-based. Default is |
verbose |
Verbose output. |
A data.frame
.
Markus Riester
1 2 3 | seg.file <- system.file("extdata", "example_seg.txt",
package = "PureCN")
seg <- readSegmentationFile(seg.file, "Sample1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.