computeValue-methods: Compute expression statistics of each gene in each...

computeValueR Documentation

Compute expression statistics of each gene in each population.

Description

Compute maximum, median or mean expression of each gene in each population.

Usage

computeValue(
  object,
  assay.type = "RNA",
  genelist,
  column = "population",
  fun = "max"
)

## S4 method for signature 'CellRouter'
computeValue(
  object,
  assay.type = "RNA",
  genelist,
  column = "population",
  fun = "max"
)

Arguments

object

CellRouter object.

assay.type

character; the type of data to use.

genelist

character vector; genes to use in the analysis.

column

character; column in the metadata table to group cells for differential expression. For example, if 'population' is specified, population-specific gene signatures will be identified.

fun

character; statistical function to summary the gene expression.

Value

list; the statistics of the expressed genes in the population (p column), not in the population (np), and the percentage (percent).


edroaldo/fusca documentation built on March 1, 2023, 1:43 p.m.