TransferTopics: Transfers topics from one dataset to another

View source: R/TransferTopics.R

TransferTopicsR Documentation

Transfers topics from one dataset to another

Description

This function takes the topics from one dataset and, using the word-topic distribution from that dataset, to impute these topics onto a new dataset.

Usage

TransferTopics(Object, Model, TopicPrefix = "Topic")

Arguments

Object

Seurat object to transfer topics onto

Model

LDA model using data from another dataset

TopicPrefix

Common prefix for topics in the LDA model

Value

Seurat object with topics transferred into its metadata

Examples

TransferTopics(NewSeuratObj, Old_model)


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