Learn R Programming

CINOEDV (version 2.0)

TestSNPNameFile: 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

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.

References

None

Examples

Run this code
RowNum <- 10
SNPNameFileName <- NA
SNPNames <- TestSNPNameFile(RowNum, SNPNameFileName)
SNPNames <- SNPNames$SNPNames

Run the code above in your browser using DataLab