Pruning_function: RAREsim

Description Usage Arguments Value Author(s)

View source: R/Pruning_function_old.R View source: R/Pruning_function.R

Description

Simulate rare variant genetic data

Simulate rare variant genetic data

Usage

1
2
3
Pruning_function(hap_file_name, MAC, expected, sed_or_gsed = NULL)

Pruning_function(hap_file_name, MAC, expected, sed_or_gsed = NULL)

Arguments

hap_file_name

Name of the haplotype file to prune (gzipped: end in .gz)

MAC

vector of allele count per variant that corresponds with the haplotype file

expected

dataframe of expected number of variants per bin - as well as bin boundaries

sed_or_gsed

Specify if gsed is loaded onto computer instead of sed

Value

Number of variants pruned

Number of variants pruned

Author(s)

Megan M Null, megan.null@ucdenver.edu

Megan M Null, megan.null@ucdenver.edu


meganmichelle/RAREsim_package documentation built on Nov. 17, 2020, 8:47 p.m.