powered by
Estimates Rho parameter in beta binomial distribution for alternative allele frequency
rho_est(vl)
A list of vcf objects from read_vcf function.
A list containing (1) het_rho: Rho parameter of heterozygous location; (2) hom_rho: Rho parameter homozygous location;
# NOT RUN { 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 # }
Run the code above in your browser using DataLab