rnb.plot.pheno.categories(annotations, columns = NULL, fileprefix = "barchart_pheno", report = NULL, color.values = rnb.getOption("colors.category"))
RnBSet
, or its sample
annotations in the form of a data.frame
. If this parameter is a dataset, the annotation
information is extracted using the method pheno
.character
vector) or indices (an
integer
vector) to consider. All other columns in the annotation table will be ignored.character
vector with one element storing the file name prefix of the output files,
without the extension. Only a limited set of symbols is allowed to be used in this prefix.Report
.character
vector containing the color scheme to be mapped to the categories
defined in the annotation table. Colors are recycled if necessary, that is, if the length of this
vector is smaller than the number of categories in a trait.fileprefix
. Thus, the suffixes appended are "_1.pdf"
, "_1.png"
, "_2.pdf"
,
"_2.png"
, ... Existing files with the generated filenames are overwritten.
rnb.sample.groups
for identifying traits in the annotation table that define sample subgroups;
createReportPlot
for the allowed symbols to be used in fileprefix