Skip to contents

read_flash reads PCA output from flashpca, where the first column contains Family ID, the second sample ID, and the following the PCs

Usage

read_flash(pca_input)

Arguments

pca_input

point to the directory and flash pca file

Value

Returns a PCA matrix with new header: POP ID PC1 PCN

Examples

if (FALSE) {
read_flash(pca_input = 'data/TOY_flash.pca')
}