var_stabilize | R Documentation |
Prior to running CA, there is an option to apply a variance stabilizing transformation. This function can be called explicitly or used with the 'vst_mth' argument in corral
and corral_preproc
.
var_stabilize(inp, transform = c("sqrt", "freemantukey", "anscombe"))
inp |
matrix, numeric, counts or logcounts; can be sparse Matrix or matrix |
transform |
character indicating which method should be applied. Defaults to the square root transform ('"sqrt"'). Other options include '"freemantukey"' and '"anscombe"'. |
variance-stabilized matrix; sparse if possible
x <- as.matrix(rpois(100, lambda = 50), ncol = 10) vst_x <- var_stabilize(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.