R/topicModel_predict.R
cosine_hive.Rd
Hive diagram showing cosine similarity between reference data and query data, calculated with reference LDA model and transferred model.
cosine_hive( ldaOut, dist, a_prefix = "reference_", b_prefix = "query_", node_size = 3, node_text_size = 2 )
ldaOut | reference LDA model |
---|---|
dist | transferred model of query data |
a_prefix | prefix of label of reference data |
b_prefix | prefix of label of query data |
node_size | node size |
node_text_size | node text size |
if (FALSE) { dist <- query_SeuratObj@misc$dist cosine_hive(ldaOut=ref_ldaOUt, dist=dist, a_prefix="reference_", b_prefix="query_") }