fitAseNull: fit QuASAR for a single sample

Description Usage Arguments Value

Description

for a single sample conduct genotyping and estimate sample error

Usage

1
2
fitAseNull(ref, alt, eps = 0.1, log.gmat, max.it = 100, tol = 1e-16,
  fixGprior = TRUE)

Arguments

ref

reference read count

alt

alternate read count

eps

starting value

log.gmat

log of genotype priors

max.it

maximum number of iterations for algorithm

tol

tolerance to assess convergance

fixGprior

logical to fix genotype priors across all steps of the algorithm

Value

list of genotypes, log genotypes, error estimate, log-likelihood, and the sum of log likelihoods


piquelab/QuASAR documentation built on May 25, 2019, 7:14 a.m.