plTrim: Trim plink files

Description Usage Arguments Value Author(s)

View source: R/2_plGwas.R

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


CollapsABEL documentation built on May 29, 2017, 9:43 a.m.

Search within the CollapsABEL package
Search all R packages, documentation and source code