makeExonRanks: Make grouping by exons ranks

Description Usage Arguments Details Value

View source: R/ranges_helpers.R

Description

There are two ways to make vector of exon ranking: 1. Iterate per exon in ORF, byTranscript = FALSE 2. Iterate per ORF in transcript, byTranscript = TRUE.

Usage

1
makeExonRanks(grl, byTranscript = FALSE)

Arguments

grl

a GRangesList

byTranscript

logical (default: FALSE), groups orfs by transcript name or ORF name, if ORfs are by transcript, check duplicates.

Details

Either by transcript or by original groupings. Must be ordered, so that same transcripts are ordered together.

Value

an integer vector of indices for exon ranks


ORFik documentation built on March 27, 2021, 6 p.m.