Skip to contents

Estimate cell type relative proportion

Usage

nnls_deconv(ref, mixture_matrix, number_patterns = 1000, var_threshold = 0.01)

Arguments

ref

An imputed wide cell by pattern matrix generated from GenerateInput function using reference Pseudobulk

mixture_matrix

An imputed wide cell by pattern matrix generated from GenerateInput function

number_patterns

a numeric value to indicate number of patterns to be used (Default: 1000)

var_threshold

a numeric value to indicate variance that should filter the patterns (Default: 0.1)

Value

A cell type by cell matrix showing the relative cell type proportion estimate for each cells