Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plotTimeSeries

Plotting Time Series Data


Description

Uses the result of the generateTimeSeriesData function as inout and generates a visualisation of the clonal contributions over a number of given time points (similar to a stacked barplot).

Usage

plotTimeSeries(
  ov_dat,
  colr = NULL,
  tp = NULL,
  x_label = "time",
  y_label = "contribution"
)

Arguments

ov_dat

a numeric matrix consisting of all time points as columns and all barcode sequences as rows and the corresponding read counts as numerical values (see function generateTimeSeriesData()).

colr

a vector of character strings identifying a certain color palette.

tp

a numeric vector containing the time points of measurement (in case of unequally distributed time points).

x_label

a character string providing the x-axis label.

y_label

a character string providing the y-axis label.

Value

a ggplot2 object.

Examples

ov_dat <- matrix(round(runif(1:100, min = 0, max = 1000)), ncol = 5)
rownames(ov_dat) <- paste("barcode", 1:20)
plotTimeSeries(ov_dat)

genBaRcode

Analysis and Visualization Tools for Genetic Barcode Data

v1.2.4
LGPL
Authors
Lars Thielecke <lars.thielecke@tu-dresden.de>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.