parsechrX_XXX: Function to transform from SNP name format ChrX_XXX to X and...

Description Usage Arguments Value Examples

View source: R/parsechrX_XXX.R

Description

Function to transform from SNP name format ChrX_XXX to X and XXX; and vice versa

Usage

1
parsechrX_XXX(strings)

Arguments

strings

A vector of strings of ChrX_XXX format name.

chr

A vector of chromosome numbers.

pos

A vector of positions in chromosomes.

Value

Data frame with the chromosome and snp position corresponding to the names. Vector of strings with the SNP names in format ChrX_XXX

Examples

1
2
parseChrX_XXX(strings=c("Chr4_54135","Chr1_18965"))
makeChrX_XXX(chr=c("4", "1"),pos=c("54135","18965") )

MoisesExpositoAlonso/moiR documentation built on Dec. 24, 2021, 10:12 p.m.