fix_chr: This function fixes chromosomes so they are numeric

Description Usage Arguments Value

View source: R/gwas.R

Description

This function fixes chromosomes so they are numeric

Usage

1
fix_chr(chr, f)

Arguments

chr

a vector of strings representing chromosomes

f

a scalar representing a file name (so user can understand which file is problematic)

Value

a vector of reformatted chromosomes


ollyburren/rCOGS documentation built on Aug. 5, 2020, 2:13 p.m.