Plotting Time Series Data
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).
plotTimeSeries( ov_dat, colr = NULL, tp = NULL, x_label = "time", y_label = "contribution" )
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 |
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. |
a ggplot2 object.
ov_dat <- matrix(round(runif(1:100, min = 0, max = 1000)), ncol = 5) rownames(ov_dat) <- paste("barcode", 1:20) plotTimeSeries(ov_dat)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.