Calculates the CNV score in a given assay using the absolute mean of CNV values.
Usage
calc_cnv_score(sce, assay_name = "counts", name = "cnv_score", method = "abs")
Arguments
- sce
SingleCellExperiment object
- assay_name
Name of assay
- name
Name of new column to store cnv score
- method
'rms' for root mean square or 'abs' for absolute mean
Value
SCE object with cnv_score
appended