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.

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.


ComputationalProteomicsUnit/Pbase documentation built on Aug. 10, 2019, 1:25 a.m.