TestSNPNameFile: Test the parameter TestSNPNameFile

Description Usage Arguments Value Author(s) References Examples

View source: R/TestSNPNameFile.R

Description

This function check the parameter TestSNPNameFile. If there are real SNP names which will be used for constructing graphs and further analysis, the name of file that saves real SNP names should be provided.

Usage

1
TestSNPNameFile(RowNum, SNPNameFileName = NA)

Arguments

RowNum

numeric. It is the number of considered SNPs.

SNPNameFileName

character or logical (NA). The file name with its format (.mat) that saves the names of SNPs. The file has only one variable, i.e., Name. In Name, Row -> 1, Column -> SNP Name, and the length is equal to RowNum. If not exist such file (default), SNPNameFileName <- NA.

Value

SNPNames: character or logical (NA). Names of SNPs.

Author(s)

Junliang Shang shangjunliang110@163.com

References

None

Examples

1
2
3
4
RowNum <- 10
SNPNameFileName <- NA
SNPNames <- TestSNPNameFile(RowNum, SNPNameFileName)
SNPNames <- SNPNames$SNPNames

CINOEDV documentation built on May 29, 2017, 9:07 p.m.

Search within the CINOEDV package
Search all R packages, documentation and source code