Learn R Programming

plinkQC (version 1.0.0)

checkLoadingMat: Checking the path of the loading matrix

Description

Makes sure that the loading matrix is located at the filepath stored in path2load_mat

Usage

checkLoadingMat(path2load_mat)

Arguments

path2load_mat

[character] /path/to/directory where loading matrices are kept. This can be downloaded from the github repo. Note that the name of the file before the .eigenvec.allele or .acount must be included in file path.

Examples

Run this code
path2load_mat <- '/path/to/loading_mat/merged_chrs.postQC.train.pca'
if (FALSE) {
# the following code is not run on package build, as the path2load_mat on the
# user system is not known.
checkLoadingMat(path2load_mat = path2load_mat)
}

Run the code above in your browser using DataLab