proteinCoding-methods: Only keep protein coding ranges

Description Methods

Description

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

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.


Pbase documentation built on Nov. 17, 2017, 9:03 a.m.