Compute pairwise Fisher tests for gene usage
TS_compute_pairwise_fisher.RdGiven a data.frame of gene counts per group, performs Fisher's Exact Test for all pairwise group combinations for each gene.
Arguments
- df
A data.frame or tibble containing at least two columns: one for genes and one for groups.
- gene_var
String; name of the column in
dfthat identifies the gene (e.g. "gene_list").- group_var
String; name of the column in
dfthat identifies the group (e.g. "named_clusters").- p_adj_method
String; method for multiple-testing correction passed to
p.adjust(default: "hochberg").