Transfer LDA model from reference data to query data
transfer_LDA(query_SeuratObj, ref_ldaOUt, by = "GO")
query_SeuratObj | query data |
---|---|
ref_ldaOUt | reference LDA model |
by | using which GSEA result of query data to transfer, one of "GO", "KEGG", "Reactome", "MSigDb", "WikiPathways", "DO", "NCG", "DGN" |
a Seurat object. Transferred LDA model of query data is stored in query_SeuratObj@misc$dist
, which
is a list containing clusters-by-topics (θ) and topics-by-pathways (ϕ) matrices.
if (FALSE) { query_SeuratObj <- transfer_LDA(query_SeuratObj, ref_ldaOUt, by = "GO") }