tLOHDataImport | R Documentation |
Import a VCF with per-cluster allele count information at heterozygous SNP positions for the tLOHCalc calculation function.
vcf |
An input VCF file. Spatial transcriptomics clusters make up the sample columns. AD and DP fields are required. Each SNP should be annotated with dbSNP rsIDs. |
Output is a dataframe with required fields for tLOHCalc
Michelle Webb
## Not run: R.utils::gunzip("inst/extdata/Example.vcf.gz","inst/extdata/Example.vcf") exampleDF <- tLOHDataImport("inst/extdata/Example.vcf") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.