Plot old and new RNA of a gene in a row.
PlotGeneGroupsBars(
data,
gene,
slot = DefaultSlot(data),
columns = NULL,
show.CI = FALSE,
xlab = NULL,
transform = NULL
)
a ggplot object.
the grandR object to get the data to be plotted from
the gene to plot
the slot of the grandR object to get the data from
which columns (i.e. samples or cells) to show (see details)
show confidence intervals; one of TRUE/FALSE (default: FALSE)
The names to show at the x axis;
function that is called on the data frame directly before plotting (can be NULL)
xlab can be given as a character vector or an expression that evaluates into a character vector.
The expression is evaluated in an environment having the Coldata
, i.e. you can use names of Coldata
as variables to
conveniently it.
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, PlotGeneTotalVsNtr,PlotGeneOldVsNew,PlotGeneGroupsBars