Plot the total RNA expression vs the new-to-total RNA ratio for a gene
PlotGeneSnapshotTimecourse(
data,
gene,
time = Design$dur.4sU,
mode.slot = DefaultSlot(data),
columns = NULL,
average.lines = TRUE,
exact.tics = TRUE,
log = TRUE,
show.CI = FALSE,
aest = NULL,
size = 2
)
a ggplot object.
the grandR object to get the data to be plotted from
the gene to plot
the times to show on the x axis (see details)
the mode.slot of the grandR object to get the data from
which columns (i.e. samples or cells) to show (see details)
add average lines?
use axis labels directly corresponding to the available temporal values?
show the y axis in log scale
show confidence intervals; one of TRUE/FALSE (default: FALSE)
parameter to set the visual attributes of the plot
the point size used for plotting; overridden if size is defined via aest
The x axis of this plot will show a temporal dimension. The time parameter defines a name in the Coldata table containing the temporal values for each sample.
The value of the aest parameter must be an Aesthetic mapping as generated by aes.
The table used for plotting is the table returned by GetData with coldata set to TRUE, i.e. you can use all names from the Coldata table for aest.
By default, aest is set to aes(color=Condition,shape=Replicate) (if both Condition and Replicate are names in the Coldata table).
Columns can be given as a logical, integer or character vector representing a selection of the columns (samples or cells).
The expression is evaluated in an environment having the Coldata
, i.e. you can use names of Coldata
as variables to
conveniently build a logical vector (e.g., columns=Condition=="x").
GetData, PlotGeneOldVsNew,PlotGeneGroupsPoints,PlotGeneGroupsBars