Description Usage Arguments Details Value Examples
View source: R/mapNamedRangesToSets.R
Map named ranges to corresponding set of named ranges
1 | mapNamedRangesToSets(gr, rangeList, verbose = FALSE)
|
gr |
(GRanges) named ranged to be grouped |
rangeList |
(list) sets of range names |
verbose |
(logical) print detailed messages |
Example application is when we have named ranges each corresponding to genes or regulatory elements, and we wish to group these ranges based on metabolic pathway.
RangeList. keys are names of rangeList
, values are GRanges
1 2 3 4 5 | data(genes,pathwayList);
gene_GR<-GenomicRanges::GRanges(genes$chrom,
IRanges::IRanges(genes$txStart,genes$txEnd),
name=genes$name2)
path_GRList <- mapNamedRangesToSets(gene_GR,pathwayList)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.