harmonizePa: A helper function to runDeploid()that harmonizes the panel

Description Usage Arguments Examples

View source: R/utpalFunctions.R

Description

This function takes a panel (createPlafPan object), and a vector q of sites from am AltRef (modified createAltRef object) and matches or "harmonizes" the number of sites between both dataframes

Usage

1
harmonizePa(panel, q)

Arguments

panel

a dataframe representing a reference panel for a set of individuals (createPlafPan object)

q

vector of sites from an AltRef dataframe with reference and alternate allele counts (modified createAltRef object)

Examples

1
2
3
4
## Not run: 
# harmonize(plaf,q)

## End(Not run)

Ahhgust/MMDIT documentation built on Jan. 27, 2021, 11:48 a.m.