Trim plink files

Description

This function calculates number of individuals in .fam file (n1) and number of individuals in phenotype file (n2). If n1 > n2, then all the individuals not included in the phenotype file will be removed from plink files.

Usage

1
plTrim(pl_gwas, suffix = "trimmed")

Arguments

pl_gwas

PlGwasC object.

suffix

character. Suffix to the new plink file names.

Value

PlGwasC object

Author(s)

Kaiyin Zhong, Fan Liu


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

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