calculateCost: calculateCost

Description Usage Arguments Author(s)

View source: R/RcppExports.R

Description

Wrapper for deconvolution cost function using the Armadillo C++ library.

Usage

1
calculateCost(oneMultiplet, singletSubset, fractions, n)

Arguments

oneMultiplet

Integer; a integer vector of rounded counts per million for one multiplet.

singletSubset

Matrix; Numeric matrix with the preallocated singlets. Each of the n synthetic multiplets should be stacked, i.e. rbind.

fractions

Numeric; a numeric vector with length equal to ncol(singlets) indicating the fractions that each column should be multiplied with.

n

Integer; length 1 integer indicating the number of synthetic multiplets to generate.

Author(s)

Jason T. Serviss


jasonserviss/CIMseq documentation built on Jan. 11, 2020, 4:42 a.m.