chr2num: Convert from chrXX to numeric format

chr2numR Documentation

Convert from chrXX to numeric format

Description

Convert from chrXX to numeric format

Usage

chr2num(x, xy = FALSE)

Arguments

x

factor, Rle or character vector with chromosome names

xy

Flag to convert M to 25, Y to 24 and X to 23. Default FALSE

Value

character vector with xy=FALSE, or numeric vector with xy=TRUE


mskilab/skitools documentation built on Aug. 31, 2023, 1:13 p.m.