time_plot: Time series graph

Description Usage Arguments

Description

Creates faceted line graphs over time points for each antibody. Each graph can also be coloured by a condition. One line graph will be produced per antibody and 12 graphs will be displayed per page. The graphs will be generated in the current graphics device.

Usage

1
time_plot(tidydf, xcol, xlab, cond_col, log, ylab, scales)

Arguments

tidydf

Tidy dataframe of RFI values, containing ONLY the conditions to plot.

xcol

Column name of the desired x-axis variable, as string.

xlab

x-axis label, as string.

cond_col

Optional argument. Column name of the desired colour aesthetic, as string. If given will colour the lines by the condition.

log

Logical indicating whether the RFI data should be logged (base 2). A small number (0.00001) is added to prevent taking the log of zero.

ylab

The y axis label as a single string.

scales

Are scales shared across all facets (the default, "fixed"), or do they vary across rows ("free_x"), columns ("free_y"), or both rows and columns ("free")? Passed to facet_grid_paginate.


lucyleeow/RPPA documentation built on May 5, 2019, 3:46 a.m.