harmonizeAR: A helper function to runDeploid()that harmonizes the AltRef

Description Usage Arguments Examples

View source: R/utpalFunctions.R

Description

This function takes an AltRef (modified createAltRef object), and a vector p of sites from a plaf/pan (createPlafPan object) and matches or "harmonizes" the number of sites between both dataframes

Usage

1
harmonizeAR(AltRef, p)

Arguments

AltRef

a dataframe of reference and alternate allele counts (modified createAltRef object)

p

vector of sites from a plaf/pan dataframe (createPlafPan object)

Examples

1
2
3
4
## Not run: 
# harmonize(AltRef,p)

## End(Not run)

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