Plot old and new RNA of a gene in a row.
Usage
PlotGeneGroupsBars(
data,
gene,
slot = DefaultSlot(data),
columns = NULL,
show.CI = FALSE,
xlab = NULL,
transform = NULL
)
Arguments
- data
the grandR object to get the data to be plotted from
- gene
the gene to plot
- slot
the slot of the grandR object to get the data from
- columns
which columns (i.e. samples or cells) to show (see details)
- show.CI
show confidence intervals; one of TRUE/FALSE (default: FALSE)
- xlab
The names to show at the x axis;
- transform
function that is called on the data frame directly before plotting (can be NULL)
Details
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").
See also
GetData, PlotGeneTotalVsNtr,PlotGeneOldVsNew,PlotGeneGroupsBars