rho_est: Estimate Rho for Alternative Allele Frequency

Description Usage Arguments Value Examples

Description

Estimates Rho parameter in beta binomial distribution for alternative allele frequency

Usage

1
rho_est(vl)

Arguments

vl

A list of vcf objects from read_vcf function.

Value

A list containing (1) het_rho: Rho parameter of heterozygous location; (2) hom_rho: Rho parameter homozygous location;

Examples

1
2
3
4
5
6
data("vcf_example")
vcf_list <- list()
vcf_list[[1]] <- vcf_example$VCF
res <- rho_est(vl = vcf_list)
res$het_rho[[1]]$par
res$hom_rho[[1]]$par

sssc documentation built on May 2, 2019, 4:03 p.m.