R/topicModel_predict.R
cosine_heatmap2.Rd
Heatmap showing cosine similarity or pearson correlation between reference data and query data
cosine_heatmap2( ldaOut, dist, a_prefix = "reference_", b_prefix = "query_", method = c("cosine", "pearson"), fontsize = 7 )
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 |
method | to calculate cosine similarity or pearson correlation between clusters |
fontsize | font size |
if (FALSE) { dist <- query_SeuratObj@misc$dist cosine_heatmap2(ldaOut=ref_ldaOUt, dist=dist, a_prefix="reference_", b_prefix="query_", method="cosine") }