addTopicsToSeuratObject: Adds topic information to Seurat metadata

View source: R/addTopicsToSeuratObject.R

addTopicsToSeuratObjectR Documentation

Adds topic information to Seurat metadata

Description

This function adds the topic-document information as individual columns to the Seurat metadata for each topic

Usage

addTopicsToSeuratObject(model, Object)

Arguments

model

LDA model output

Object

Seurat object containing the data the model was created with.

Value

Seurat object with updated metadata

Examples

addTopicsToSeuratObject(LDAmodel, SeuratObj)


JuliusCampbell/TITAN documentation built on May 24, 2023, 3:42 p.m.