
Fisher's exact test for score-trait association
scores.fisher.test.RdFisher's exact test for score-trait association
Arguments
- scores
A list, NMF output from
compute.latent_factors(), or a score matrix. When a list, the first element must be a samples x features score matrix. Continuous scores are binarised at the median into High/Low groups.- coldata
A data frame containing the clinical or experimental traits.
- trait
Character. Name of the column in
coldatato test with Fisher's exact test.- pval
Numeric. P-value threshold for significance (default 0.05).