ImputeAndAddTopics: Adds imputed Topics to a seruat object

View source: R/ImputeAndAddTopics.R

ImputeAndAddTopicsR Documentation

Adds imputed Topics to a seruat object

Description

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

Usage

ImputeAndAddTopics(Object, model, TopicPrefix = "ImputedTopic")

Arguments

Object

Seurat object containing the data the model was created with.

model

LDA model output

TopicPrefix

Prefix of Topics to be added to your metaData (Default "ImputedTopic")

Value

Seurat object with updated metadata of imputed geneExpression

Examples

ImputeAndAddTopics(SeuratObj, LDAmodel, TopicPrefix = "ImputedTopic")


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