is.SNP: Decide whether the data is of type "SNP"

Description Usage Arguments Value Examples

View source: R/is.SNP.R

Description

Decide whether the data is of type "SNP"

Usage

1
is.SNP(SNP)

Arguments

SNP

The result data returned from prep() function, an object of class factor and SNP, it contains levels of genotype and attribute of "alleleNames"

Value

TURE if input is of class 'SNP', FALSE otherwise

Examples

1
2
3
4
data(geneSNP)
s3 <- prep(geneSNP$snp10003)
is.SNP(s3)
TRUE

Kevinpen/SNPgrou documentation built on Dec. 8, 2019, 8:32 a.m.