bibarplotsDiversityCond: For easier comparison, plot the uniquely expressed genes...

View source: R/genes-meta-analyses.R

bibarplotsDiversityCondR Documentation

For easier comparison, plot the uniquely expressed genes (colored by tissues) in two studies

Description

For easier comparison, plot the uniquely expressed genes (colored by tissues) in two studies

Usage

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, ...)

Arguments

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()

Value

a figure


barzine/barzinePhdR documentation built on Nov. 23, 2024, 8:54 p.m.