costCalc: costCalc

Description Usage Arguments Author(s)

View source: R/RcppExports.R

Description

This function takes a vector of gene counts per million for one multiplet that is being deconvoluted and a matrix of synthetic multiplets and calculates the cost which is returned to the optimization algorithm during deconvolution.

Usage

1
costCalc(oneMultiplet, syntheticMultiplets)

Arguments

oneMultiplet

Numeric; a numeric vector of counts per million for one multiplet.

syntheticMultiplets

Matrix; a numeric matrix of synthetic multiplets with samples as columns and genes as rows.

Author(s)

Jason T. Serviss


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