View source: R/trans_Laplace.R
trans_Laplace | R Documentation |
Get Laplace matrix from factor vector
trans_Laplace(col_data)
col_data |
A factor vector |
adjacency
The Laplace matrix of col_data
Haidong Yi, Ayush T. Raman
batch.factor <- c(rep('human',13),rep('mouse',13))
batch.factor <- as.factor(batch.factor)
adj <- trans_Laplace(batch.factor)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.