matchSeqStyle: A wrapper for seqlevelsStyle

Description Usage Arguments Value

Description

To make sure chromosome naming is correct (chr1 vs 1 vs I etc)

Usage

1
matchSeqStyle(range, chrStyle = NULL)

Arguments

range

a ranged object, (GRanges, GAlignment etc)

chrStyle

a GRanges object, TxDb, FaFile, or a seqlevelsStyle (Default: NULL) to get seqlevelsStyle from. Is chromosome 1 called chr1 or 1, is mitocondrial chromosome called MT or chrM etc. Will use 1st seqlevel-style if more are present. Like: c("NCBI", "UCSC") -> pick "NCBI"

Value

a GAlignment/GRanges object depending on input.


ORFik documentation built on March 27, 2021, 6 p.m.