get_cell_proportion: Calculate the proportion of each cell types in bulk samples

View source: R/get_proportion.R

get_cell_proportionR Documentation

Calculate the proportion of each cell types in bulk samples

Description

Calculate the proportion of each cell types in bulk samples

Usage

get_cell_proportion(object, max.iter = 500, method = "RLR", nu.v)

Arguments

object

ENIGMA object

max.iter

the maximum iteration times for robust linear model. Default = 500

nu.v

parameter needed for nu-regression, user could input a vector of nu, and CIBERSORT would automatically select the nu with the best fitness with users' data.

Value

the ENIGMA object contains the cell type fractions in object@result_cell_proportion

Examples

## Not run: 
egm = get_cell_proportion(egm)
egm@result_cell_proportion

## End(Not run)

WWXkenmo/ENIGMA_test documentation built on March 17, 2023, 4:56 a.m.