Test the parameter TestSNPNameFile

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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.