A function to shuffle a Vmat

shuffleVmat(Vmat, SEED = 999)

Arguments

Vmat

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

Value

A normalized Vmat object