makechrX_XXX: Function to transform from chromosome X and position XXX to...

Description Usage Arguments Value Examples

View source: R/parsechrX_XXX.R

Description

Function to transform from chromosome X and position XXX to my standart format ChrX_XXX

Usage

1
makechrX_XXX(chr, pos)

Arguments

chr

A vector of chromosome numbers.

pos

A vector of positions in chromosomes.

strings

A vector of strings of ChrX_XXX format name.

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.