trans_Laplace: Get Laplace matrix from factor vector

Description Usage Arguments Value Author(s) Examples

View source: R/trans_Laplace.R

Description

Get Laplace matrix from factor vector

Usage

1
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

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

DASC documentation built on Nov. 17, 2017, 9:36 a.m.