validSeqlevels: Helper function to find overlaping seqlevels

View source: R/validity.R

validSeqlevelsR Documentation

Helper function to find overlaping seqlevels

Description

Keep only seqnames in reads that are in grl Useful to avoid seqname warnings in bioC

Usage

validSeqlevels(grl, reads)

Arguments

grl

a GRangesList or GRanges object

reads

a GRanges, GAlignment or GAlignmentPairs object

Value

a character vector of valid seqlevels

See Also

Other validity: checkRFP(), checkRNA(), is.ORF(), is.gr_or_grl(), is.grl(), is.range(), validGRL()


Roleren/ORFik documentation built on Dec. 18, 2024, 11:39 p.m.