fit_ab: A C++ function to perform a parameter estimation for the...

Description Usage Arguments

View source: R/RcppExports.R

Description

A C++ function to perform a parameter estimation for the sgRNA-level test. It will estimate two different parameters 'phat' and 'vhat,' and we assume input count data follows the beta-binomial distribution. Dr. Keith Baggerly initially implemented this code in Matlab, and it has been rewritten it in C++ for the speed-up.

Usage

1
fit_ab(xvec, nvec)

Arguments

xvec

a matrix contains sgRNA read counts.

nvec

a vector contains the library size.


CB2 documentation built on July 24, 2020, 5:08 p.m.