tss_tts.calc | R Documentation |
calculate minor allele frequencies of polymorphisms in relation to gene bodies
tss_tts.calc(
gff,
vcf,
type = "both",
chrs = "all",
num = "all",
feature = "gene",
variable
)
gff |
directory and file name of reference gff OR data.table object of gff data |
vcf |
directory and file name vcf data OR data.table object of variant data (data.table with CHROM, POS, MAF) |
type |
"snp", "indel", or "both", default is "both" |
chrs |
selection specific chromosomes, default is "all" |
num |
set number of genes, default is "all |
feature |
name of the feature in the gff data that you want to look at, default is "gene" |
variable |
name of variable in the vcf you want the calculated value of in relation to TSS TTS |
a vector of the relative position of polymorphsims in relation to feature
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.