Description Usage Arguments Value Examples
View source: R/load_as_VRanges.R
Load varscan pileup2cns output from a given sample as a VRanges
object
1 | load_as_VRanges(sample_name, sample_path, genome, metadata = TRUE)
|
sample_name |
Name of the sample |
sample_path |
Sample file location |
genome |
Reference genome to use. |
metadata |
Logical. Whether to include metadata (VAF, quality scores, strand-specific counts) |
This function returns a VRanges
object with the following information:
seqnames
ranges
ref
alt
refdepth
altdepth
sampleNames
metadata (optional)
1 2 3 4 5 | ## Not run:
variants <- load_as_VRanges(sample_name = "pt123", sample_path = "./patient_123_pileup2cns",
genome = "hg19", metadata = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.