proteinCoding-methods: Only keep protein coding ranges

Description Methods


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


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 Oct. 31, 2019, 2:20 a.m.