PrepareGraph: Create igraph-compatible graph and save in Seurat object

Description Usage Arguments Value

View source: R/functions.R

Description

Create igraph-compatible graph and save in Seurat object

Usage

1
PrepareGraph(object, reduction, dims, knn)

Arguments

object

Seurat object

reduction

Reduced dimension slot to pull from

dims

Dimensions to use

knn

Number of k-nearest neighbors to use

Value

Seurat object with igraph graph stored in object@misc$westerlund_graph


joshpeters/westerlund documentation built on Sept. 9, 2021, 2:11 p.m.