Description Usage Arguments Note Examples
produce a GRanges with RNA haplotypes near a specific gene
1 2 3 4 | rnahapsNearGene(sym, haptab = NA06986_rnahaps,
genes = ensembldb::genes(EnsDb.Hsapiens.v75::EnsDb.Hsapiens.v75),
radius = 10000, min_total_reads = 15, min_variants = 2,
varnum_to_use = 2:6)
|
sym |
character(1) gene symbol |
haptab |
data.frame corresponding to phaser haplotypes.txt table |
genes |
a GRanges as produced by ensembldb::genes |
radius |
numeric(1) interval upstream and downstream to be included with gene region for selection of RNA haplotypes |
min_total_reads |
numeric(1) lower bound on number of reads needed to retain a haplotype |
min_variants |
lower bound on number of variants in the haplotype to warrant retention |
varnum_to_use |
the values of the 'variants' field for which records are retained |
grep() is used with fixed=TRUE to find sym in genes()$gene_name
1 | rnahapsNearGene("GSDMB")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.