Match map column names

Usage

matchMapNames(fields)

Arguments

fields
The name of fields or colulm names in data frame, which are candidates to be map fields.

Value

A named character vector, that can be directly passed to rename function of plyr package.

Description

The function searches for fields that correspond to those in SOLAR format of marker map file.

Examples

data(dat50) matchMapNames(names(snpdata))
name position chrom "SNP" "pos" "chr"