GetGenomeGRanges | R Documentation |
Return a GRanges object from a DNAStringSet object with ranges from 1 to the sequences width (for both strands).
GetGenomeGRanges(dnastringsetGenome)
dnastringsetGenome |
A DNAStringSet object to convert as a GRanges object. If sequences have no names, these will be named with "seq" and a number (corresponding to the order in the DNAStringSet object) in the GRanges object. |
mySeqs <- Biostrings::DNAStringSet(c("ACCATTGATTAT", "AATATCGACTA", "GACTAT")) myRanges <- GetGenomeGRanges(mySeqs) myRanges
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.