trans_ADJ: Outputs Adjacency matrix from the factor vector

View source: R/trans_ADJ.R

trans_ADJR Documentation

Outputs Adjacency matrix from the factor vector

Description

Outputs Adjacency matrix from the factor vector

Usage

trans_ADJ(col_data)

Arguments

col_data

A factor vector

Value

adjacency Adjacency 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)


aayushraman/DASC documentation built on May 9, 2023, 12:03 a.m.