FisherTestHeuristic | R Documentation |
Performs feature-clustering based on Fisher's exact test for testing the null of independence of rows and columns in a contingency table with fixed marginals.
D2MCS::GenericHeuristic
-> FisherTestHeuristic
new()
Empty function used to initialize the object arguments in runtime.
FisherTestHeuristic$new()
heuristic()
Performs the Fisher's exact test for testing the null of independence between two columns (col1 and col2).
FisherTestHeuristic$heuristic(col1, col2, column.names = NULL)
col1
A numeric vector or matrix required to perform the clustering operation.
col2
A numeric vector or matrix to perform the clustering operation.
column.names
An optional character vector with the names of both columns.
A numeric vector of length 1 or NA if an error occurs.
clone()
The objects of this class are cloneable with this method.
FisherTestHeuristic$clone(deep = FALSE)
deep
Whether to make a deep clone.
Dataset
, fisher.test
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.