trim_oneLineage: Trims the pedigree structure to include one lineage only.

Description Usage Arguments Details Value Note Author(s) References See Also Examples

Description

Trims the families to include only one lineage.

Usage

1

Arguments

seqSub

A data frame that should include three columns FID (family ID), IID (individual ID), and PHENOTYPE (affection status) for the sequenced subjects in the data. One example is the 1st, 2nd and 6th columns from the plink raw format.

pednew

A data frame includes the complete pedigree structure information for all sequenced families in the dataset. The required column names of this data frame include: FID (family ID), IID (individual ID, must be of class character), faID (father ID, NA if unavailable), moID (mother ID, NA if unavailable), and sex.

Details

For each subject, only the maternal or the paternal family is included, since the rare variant should be present in only the related subjects. The lineage with the maximal set of sequenced cases will be used as the final pedigree.

Value

pedInfoUpdate

the complete pedigrees with only the paternal or maternal lineage

seqSubjUpdate

The sequenced subjects that are in the selected lineage are returned for the rest of the analysis.

Note

This function can be used for other analysis of family-based data processing. For example, the pre-processing step for PVAAST analysis.

Author(s)

Dandi Qiao

References

Qiao, D. Lange, C., Laird, N.M., Won, S., Hersh, C.P., et al. (2017). Gene-based segregation method for identifying rare variants for family-based sequencing studies. Genet Epidemiol 41(4):309-319. DOI:10.1002/gepi.22037.

See Also

GESE, trim_unrelated

Examples

1
2
3
4
5
6
7
8
9
data(pednew)
data(mapInfo)
data(dataRaw)
data(database)
subjects <- dataRaw[,c(1:2, 6)]
cat("Trimming the families...\n")
cat("Trimming step 1: keep only one lineage \n")
trim <- trim_oneLineage(seqSub=subjects, pednew)
	

GESE documentation built on May 2, 2019, 3:59 a.m.