Description Usage Arguments Value Examples
get_SU_for_vector_pair Formula for symetrical uncertainty as described in Yu, L. and Liu, H. , 2003. This functions runs symmetrical uncertainty for two features, returning the score
1 | get_SU_for_vector_pair(x, y, base = 2)
|
x |
A vector containing a categorical feature |
y |
A vector containing other categorical feature |
base |
The base used for the logaritmic function. The default is exp(1) (~2.718) |
A numerical value for the Symetrical Uncertainty score
1 2 3 4 5 6 | data(scDengue)
exprs <- SummarizedExperiment::assay(scDengue, 'logcounts')
discrete_expression <- as.data.frame(discretize_exprs(exprs))
discrete_expression_gene_1 <- discrete_expression$V1
discrete_expression_gene_2 <- discrete_expression$V2
get_SU_for_vector_pair(discrete_expression_gene_1,discrete_expression_gene_2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.