trans_Laplace {DASC}R Documentation

Get Laplace matrix from factor vector

Description

Get Laplace matrix from factor vector

Usage

trans_Laplace(col_data)

Arguments

col_data

A factor vector

Value

adjacency The Laplace matrix of col_data

Author(s)

Haidong Yi, Ayush T. Raman

Examples

batch.factor <- c(rep('human',13),rep('mouse',13))
batch.factor <- as.factor(batch.factor)
adj <- trans_Laplace(batch.factor)


[Package DASC version 1.1.0 Index]