deconvolveBidirectionalPromoters {VplotR} | R Documentation |
This function splits bi-directional ranges into + and - stranded ranges. It duplicates the ranges which are '*'.
deconvolveBidirectionalPromoters(granges)
granges |
A stranded GRanges object |
GRanges with only '+' and '-' strands. GRanges with '*' strand have been duplicated and split into forward and reverse strands.
data(ce11_all_REs) library(GenomicRanges) proms <- ce11_all_REs[grepl('prom', ce11_all_REs$regulatory_class)] proms table(strand(proms)) proms <- deconvolveBidirectionalPromoters(proms) proms table(strand(proms))