get_norm_ref | R Documentation |
renormalizes cell_type_means
to have average the same as the puck.
The average for each gene is weighted by cell type proportions given by
proportions
.
get_norm_ref(puck, cell_type_means, gene_list, proportions)
puck |
an object of type SpatialRNA, the target dataset |
cell_type_means |
a data_frame (genes by cell types) for mean normalized expression (see |
gene_list |
a list of genes to be used for the normalization |
proportions |
a named list (for each cell type) of proportion of the cell type on the bulk dataset (not constrained to sum to 1) |
Returns cell_type_means
, a data_frame (genes by cell types) for mean normalized cell type expression profiles in which
platform effects have been removed to match the SpatialRNA data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.