Trim plink files

Share:

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.