Learn R Programming

solarius (version 0.3.0.2)

matchMapNames: Match map column names

Description

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

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.

Examples

Run this code
data(dat50)
 matchMapNames(names(snpdata))

Run the code above in your browser using DataLab