txNames {ORFik} | R Documentation |
names must either be a column called names, or the names of the grl object
txNames(grl, unique = FALSE)
grl |
a |
unique |
a boolean, if true unique the names, used if several orfs map to same transcript and you only want the unique groups |
a character vector of transcript names, without _* naming
Other ORFHelpers: defineTrailer
,
longestORFs
, mapToGRanges
,
orfID
, startCodons
,
startSites
, stopCodons
,
stopSites
, uniqueGroups
,
uniqueOrder
gr_plus <- GRanges(seqnames = c("chr1", "chr1"), ranges = IRanges(c(7, 14), width = 3), strand = c("+", "+")) gr_minus <- GRanges(seqnames = c("chr2", "chr2"), ranges = IRanges(c(4, 1), c(9, 3)), strand = c("-", "-")) grl <- GRangesList(tx1_1 = gr_plus, tx2_1 = gr_minus) # there are 2 orfs, both the first on each transcript txNames(grl)