cleanSnpNames: Clean up SNP names for building linear models in R

Description Usage Arguments Value

View source: R/cleanSnpNames.R

Description

Some SNPs have not been give formal "rs..." names, for example "6:24331878:I". These names start with a number and contain the special char ":", so they are not suitable for usage in R formulas. This function cleans them up.

Usage

1

Arguments

x

A vector of SNP names to clean up.

Value

A cleanedup SNP names vector.


kindlychung/CollapsABEL documentation built on May 20, 2019, 9:57 a.m.