viewFlagHomo {fbat}R Documentation

flag homo/heterozygotes for specified marker

Description

Flag homo/heterozygoter for specified marker.

Usage

viewFlagHomo(flagHomo.object, markerName)

Arguments

flagHomo.object object returned by the function pedFlagHomo().
markerName name of the specified marker.

Value

countMatM Count the number of homo/heterozygotes for the specified marker.
flagHomoMatM Flag homo/heterozygotes for the specified marker. 1 – homozygotes; 0 – heterozygotes; -1 – genotype contains one missing allele; -2 – genotype contains two missing alleles.

Author(s)

Weiliang Qiu stwxq@channing.harvard.edu, Ross Lazarus ross.lazarus@channing.harvard.edu, Gregory Warnes warnes@bst.rochester.edu, Nitin Jain nitin.jain@pfizer.com

Examples

  data(CAMP)
  res<-pedFlagHomo(CAMP)
  viewFlagHomo(res, "p79")

[Package fbat version 1.2.0 Index]