makeExonRanks: Make grouping by exons ranks

View source: R/ranges_helpers.R

makeExonRanksR Documentation

Make grouping by exons ranks

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

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


Roleren/ORFik documentation built on Nov. 13, 2024, 10 p.m.