Description Usage Arguments Value
View source: R/genSnpZygosity.R
Takes a single sample Mutect VCF that has force called all dbSNP sites and reduces it to a single column of 1,2,3 values corresponding to REF.HOMOZYGOUS, HETEROZYGOUS, and ALT.HOMOZYGOUS respectively using Perl. If multiple samples are given, it will concatenate the samples into a single matrix.
1 2 3 4 5 | genSnpZygosity(
sampleid,
caller = "GATK",
chrs = paste0("chr", c(1:22, "X", "Y"))
)
|
sampleid |
Vector of sample IDs for the filename [chr].[sampleid].vcf |
caller |
Either 'Mutect' or 'GATK' (collectAllelicCounts) |
chrs |
Chrs for the filename [chr].[sampleid].vcf |
Matrix of parsed output values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.