Learn R Programming

Pbase (version 0.12.2)

proteinCoding-methods: Only keep protein coding ranges

Description

Removed all the ranges that are not protein coding. Typically used on the output of etrid2grl before mapToGenome.

Arguments

Methods

signature(object="GRanges", mcol="character", coding="character")
Removes all the ranges that are not annotated as protein coding ranges, i.e. ranges whose mcols()$mcol is different from coding. The default values are mcols()feature and "protein_coding". The method return the GRanges trimmed from all non-matching ranges.
signature(object="GRangesList", mcol="character", coding="character")
As above but for GRanges in a GrangesList.