normalizeVmat.RdA function to normalized a Vmat to a given background.
normalizeVmat(Vmat1, background = NULL, scale = TRUE, FUN = `-`, normFun = "pctsum", roll = 1)
| Vmat1 | A Vmat, usually output of computeVmat |
|---|---|
| background | A Vmat computed from a background. |
| scale | Boolean Should the background be removed? |
| normFun | string A Vmat can be scaled relative to its median ('pctmedian'), to its mean ('pctmean'), to its max ('pctmax'). Otherwise it could be zscore-d entirely ('Zscore') or by rows ('rowZscore') or by columns ('colZscore'). |
| roll | integer to use as the window to smooth the Vmat rows by rolling mean |
A normalized Vmat object