Learn R Programming

MethScope (version 1.0.0)

nnls_deconv: Estimate cell type relative proportion

Description

Estimate cell type relative proportion

Usage

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

Value

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

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)