chr_uniform {CNVgears}R Documentation

Uniform chromosome notation

Description

This is a function for internal use in the package, it handles the standardize process of chromosome notation within the other functions.

Usage

chr_uniform(DT_in)

Arguments

DT_in,

a data.table with a columns named "chr"

Value

the same data.table in input with the "chr" uniformed to the notation "1", "2", ... , "23", "24" for the chromosomes 1:22, X and Y

Examples

DT <- data.table::data.table(chr= c("chr1", "chrX", "chr20"))
DT <- chr_uniform(DT)
DT

[Package CNVgears version 1.1.0 Index]