plot_bar_composition: Plots data as bar plot with ggplot2

View source: R/plot_bar_composition.R

plot_bar_compositionR Documentation

Plots data as bar plot with ggplot2

Description

Plots data as bar plot with ggplot2

Usage

plot_bar_composition(
  data_,
  TERMS = "mitochondrion",
  type = "Fraction",
  color,
  xlab = "Fraction of Proteins",
  ylab = "",
  legend.name = "",
  legend.position = "right",
  aspect.ratio = 1,
  custom.theme = theme_phosprot_half_open,
  ...,
  view = T,
  input = "data_annotation_composition",
  output = "plot_annotation_composition"
)

Arguments

data_

data_

TERMS

TERMS to plot

type

type of data to represent ("Fraction" or "Count")

color

names vector of colors

xlab

labels of x-axis

ylab

label of y-axis

legend.name

name of legend

legend.position

position of legend ("none", "right", "bottom", "top", "left")

aspect.ratio

aspect ratio of x- and y-axis

custom.theme

predefined theme for plot

...

arguments for custom.theme

view

view plot after generation

input

name of input data

output

name of output data


nicohuttmann/pOmics documentation built on Sept. 21, 2022, 9:28 a.m.