View source: R/BasicTopicOperations.R
getRegionsScores | R Documentation |
Get region scores per topic
getRegionsScores(object, method = "Z-score", scaled = TRUE)
object |
Initialized cisTopic object, after the object@selected.model has been filled. |
method |
Select the method for processing the region assignments: 'Z-score','Probability' or 'NormTop'. |
rescale |
Whether feature scaling should be performed within the topics. By default, it is set to true. |
'Z-score' computes the Z-score for each topic assingment per cell/region. 'Probability' divides the topic assignments by the total number
of assignments in the cell/region in the last iteration plus alpha. If using 'NormTop', regions are given an score defined by: \beta_{w, k} (\log
\beta_{w,k} - 1 / K \sum_{k'} \log \beta_{w,k'})
.
Returns the region scores per topic in object@region.data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.