Learn R Programming

SimRVSequences (version 0.2.7)

affected_allele_count: Determine total number of alleles shared by affecteds in a family

Description

Determine total number of alleles shared by affecteds in a family

Usage

affected_allele_count(ped_haps, hap_map, ped_file)

Arguments

ped_haps

sparse matrix. The familial haplotype data.

hap_map

data frame. Mapping data: maps individuals in ped_file to the haplotypes in ped_haps.

ped_file

data frame. Pedigree file, a for single family; i.e. not an entire study of ped files.

Value

A list of sharing counts, in the same order as the SNVs in ped_haps.