getLLNoMaster: Function getLLNoMaster Version of getLL.cpp modified to...

Description Usage Arguments

View source: R/RcppExports.R

Description

Function getLLNoMaster Version of getLL.cpp modified to return likelihood without master library information (the infection distribution). Call get_nb and get_poiss within cpp code, returning a likelihood value to optimize.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
getLLNoMaster(
  gene_essentiality,
  guide_efficiency,
  sample_effects,
  init_counts,
  dep_counts,
  var_model,
  init_scaling,
  dep_scaling,
  nsg_vals,
  var_params,
  step_size
)

Arguments

gene_essentiality

NumericVector (for flexibility) by-guide essentiality to test.

guide_efficiency

NumericVector by-guide efficiency.

sample_effects

NumericVector by-sample effects on gene_essentiality.

init_counts

NumericMatrix

dep_counts

NumericMatrix

var_model

int specifying which mean-var model to use for count data.

init_scaling

NumericVector of scaling factors to normalize total read depth of initial sample.

dep_scaling

NumericVector of scaling factors to normalize total read depth and LFC ratio shifts due to guide drop-out.

nsg_vals

Vector of percent of cells infected (unobserved, integrating over.)

var_params

List of mean~variance model parameters (fit in ModelObj).

step_size

Intervals of infected cells for discrete integral evaluation.


CshlSiepelLab/ACE documentation built on Sept. 10, 2021, 11:21 p.m.