uniqueGroups {ORFik} | R Documentation |
Sometimes GRangesList
groups might be identical,
for example ORFs from different isoforms can have identical ranges.
Use this function to reduce these groups to unique elements
in GRangesList
grl
, without names and metacolumns.
uniqueGroups(grl)
grl |
a GRangesList of unique orfs
Other ORFHelpers:
defineTrailer()
,
longestORFs()
,
mapToGRanges()
,
orfID()
,
startCodons()
,
startSites()
,
stopCodons()
,
stopSites()
,
txNames()
,
uniqueOrder()
gr1 <- GRanges("1", IRanges(1,10), "+") gr2 <- GRanges("1", IRanges(20, 30), "+") # make a grl with duplicated ORFs (gr1 twice) grl <- GRangesList(tx1_1 = gr1, tx2_1 = gr2, tx3_1 = gr1) uniqueGroups(grl)