Learn R Programming

selectSNPs (version 1.0.1)

as.data.frame: Convert a Map Object to a Data Frame

Description

This inherited S3 function is devised to convert a Map object to a data frame. The Map object has six slots: Marker name (Name), Chromosome, Positin, minor alllel frequency (Maf), Tyep, and Status.

Usage

as.data.frame(x)

Arguments

x

An input Map object.

Value

A data frame having the map informtion.

Examples

Run this code
# NOT RUN {
data(bov80K)
class(bov80K)
tmpdat<-as.data.frame(bov80K)
class(tmpdat)

# }

Run the code above in your browser using DataLab