
z_scale_region
z_scale_region.Rd
z-scales biomarker expression values i.e. subtracts by the mean and divides by the standard deviation.
Arguments
- region
A Region object, or concatenated data generated by .smapply.
- from
Which data slot to pull data from.
- to
Which data slot to assign the normalized data to.
- MARGIN
Whether to apply the function within each biomarker (1) or across all biomarkers in each cell (2).