as.matrix-snpMatrix-method: As matrix method for snpMatrix

Description Usage Arguments Examples

Description

As matrix method for an object of class snpMatrix.

Usage

1
2
## S4 method for signature 'snpMatrix'
as.matrix(x)

Arguments

x

an object of class snpMatrix.

Examples

1
2
3
4
# file containing example data for SNP data
gfile <- system.file("extdata/snpdata.csv", package = "qtcat")
snp <- read.snpData(gfile, sep = ",")
snpmat <- as.matrix(snp)

QTCAT/qtcat documentation built on April 20, 2021, 11:20 p.m.