View source: R/genes-meta-analyses.R
bibarplotsDiversityCond | R Documentation |
For easier comparison, plot the uniquely expressed genes (colored by tissues) in two studies
bibarplotsDiversityCond(DF1, DF2, threshold1 = 0, threshold2 = 1,
label1 = "Proteomics (detected)",
label2 = paste("Transcriptomics (≥ ", threshold2, "FPKM)"),
sorted = TRUE, common = TRUE, colorpal = NULL, publish = TRUE,
output = "count", verbose = TRUE, ...)
DF1 |
numeric data.frame (first study expression data) |
DF2 |
numeric data.frame (second study expression data) |
threshold1 |
numeric. Expression above which a gene is considered as expressed for the first study |
threshold2 |
numeric. Expression above which a gene is considered as expressed for the second study |
label1 |
character string. Label for the first study to use on the plot |
label2 |
character string. Label for the second study to use on the plot |
sorted |
boolean. Default: TRUE. Whether the tissues should be sorted in function of their number of tissue specific genes |
common |
boolean. Default: TRUE. Whether the two studies should share identical rownames and colnames |
colorpal |
colour palette to use in the figure (done with ggplot2::scale_fill_manual) |
publish |
boolean. Default: TRUE. Whether to apply ggplot2::theme_bw to the plot. |
output |
character string. Switch that allows to choose between 'count' for the count of unique genes across the tissues or a ratio based on the distribution of the tissue specific genes across each study. |
verbose |
boolean. Default: TRUE. |
... |
other arguments that can be used by ggplot2::theme_bw() |
a figure
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.