compute_mean_expr: Comptue mean expression for an 'expression_data' object

Description Usage Arguments Value References

View source: R/build_spec_tools.R

Description

Comptue mean expression for an 'expression_data' object

Usage

1
compute_mean_expr(expression_data, method = "Efroni", ...)

Arguments

expression_data

data frame (or tibble) containing the following columns for a single locus

  • Expression (the normalized expression value, not log-transformed)

  • Cell_Type (the cell type from which the expression data came from)

  • binsize (optional; required if 'method = "Efroni"')

method

Which method to use when computing the mean. Defaults to "Efroni", but can be another function. If set to something other than "Efroni", a function, or "median", defaults to computing the median expression for each cell type. Must return one or more summarized expression values for each cell type.

...

Parameters to be supplied to the function defined in 'method'.

Value

Summarized expression values for each cell type.

References

Ifroni, E., Ip, PL., Nawy, T., Mello, A., Birnbaum, KD. 2015. "Quantification of cell identity from single-cell gene expression profiles". Genome Biology 16(9)

Birnbaum, KD. and Kussell, E. 2011. "Measuring cell identity in noisy biological systems". Nucl. Acids. Res. 39(21)


b-coli/ICITools documentation built on Dec. 27, 2021, 7:40 a.m.