hyperGeoTest | R Documentation |
Perform hypergeometric test
hyperGeoTest(
row.group,
col.group,
row.prefix = "",
col.prefix = "",
lower.tail = FALSE,
title = "",
log10.lowest = 5,
print.fig = TRUE,
adjusted.p = NULL,
remove.na = FALSE,
bar.color = "npg",
chiq.square.test = T,
not.consider = NA,
top.piont.color = "#0269A4"
)
lower.tail |
Default FALSE |
log10.lowest |
Default 3. Minimux or maximum log10 value. Useful when meet inf or draw heatmap |
print.fig |
Default print the figure |
adjusted.p |
If to adjust P value c("holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr", "none") |
remove.na |
If to remove NA |
bar.color |
palatte for barplot |
not.consider |
A vector that not consider the inside element |
top.piont.color |
Default "#0269A4" |
list(barplot, pval.df.log, pval.df, plot)
g1 = sample(c("G1","G2","G3"),10, replace = T)
g2 = sample(c("1","2","3"),10, replace = T)
loonR::hyperGeoTest(g1, g2, col.prefix = "E")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.