Description Usage Arguments Value Examples
View source: R/GetRangesFromUniprot.R
CollapseSpanRanges Handle a set of range to have only one range per position. This will allow us to use the
1 | CollapseSpanRanges(SpanRanges)
|
SpanRanges |
IRanges that will be used for HMTL formatting |
IRanges with class and title information for HTML span tag
1 2 3 4 5 6 7 8 9 10 | library(GenomicRanges)
VariationRanges<-GetRangesFromUniprot("O94875-10")
VariationRanges
DuplicatedVariationRanges<-VariationRanges
mcols(DuplicatedVariationRanges)$Title<-paste("Duplicated ",mcols(DuplicatedVariationRanges)$Title)
VariationRanges<-c(VariationRanges,DuplicatedVariationRanges)
Collapsed<-CollapseSpanRanges(VariationRanges)
VariationRanges
Collapsed
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.