Description Usage Arguments Details
Get genomic sequences given ranges
1 2 3 4 5 6 7 | get_genomic_sequence(chr, strand, start, end, genome)
get_genomic_variant(chr, strand, start, end, vcf, genome)
get_coding_sequence(chr, strand, start, end, cds, genome)
get_coding_variant(chr, strand, start, end, cds, vcf, genome)
|
chr |
Chromosome names. Must match names returned by |
strand |
Sequence strands (+|-). |
start |
Start coordinates of ranges. |
end |
End coordinates of ranges |
genome |
A reference genome. See Details. |
The reference genome can be either a BSgenome
object from a
BSgenome reference package (see BSgenome::BSgenome), or a DNAStringSet
object (see Biostrings::DNAStringSet). BSgenome
objects offer faster
sequence aquisition, but are limited to existing BSgenome packages
(see BSgenome::available.genomes) whereas DNAStringSet
objects can
be easily created from any standard FASTA file using
Biostrings::readDNAStringSet.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.