complete_estimates: this function adds rows filled with 0 for all missing cell...

View source: R/complete_estimates.R

complete_estimatesR Documentation

this function adds rows filled with 0 for all missing cell types to the estimates returned by an algorithm

Description

this function adds rows filled with 0 for all missing cell types to the estimates returned by an algorithm

Usage

complete_estimates(est.props, include.in.x)

Arguments

est.props

matrix containing estimated proportions for each cell type (cell type x bulk)

include.in.x

vector containing the cell types that should be present in est.props

Value

matrix (cell type x bulks) containing the information of est.props


MarianSchoen/DMC documentation built on Aug. 2, 2022, 3:05 p.m.