CollapseSpanRanges: CollapseSpanRanges Handle a set of range to have only one...

Description Usage Arguments Value Examples

View source: R/GetRangesFromUniprot.R

Description

CollapseSpanRanges Handle a set of range to have only one range per position. This will allow us to use the

Usage

1
CollapseSpanRanges(SpanRanges)

Arguments

SpanRanges

IRanges that will be used for HMTL formatting

Value

IRanges with class and title information for HTML span tag

Examples

 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

47Lies/isoformnspectRe documentation built on May 29, 2021, 3 p.m.