Description Usage Arguments Details Value Author(s) See Also
Generates bar charts summarizing the categorical traits in a sample annotation table.
1 2 3 4 5 6 7 | rnb.plot.pheno.categories(
annotations,
columns = NULL,
fileprefix = "barchart_pheno",
report = NULL,
color.values = rnb.getOption("colors.category")
)
|
annotations |
Methylation dataset as an object of type inheriting |
columns |
Optional; predefined column names (in the form of a |
fileprefix |
|
report |
Report to contain the generated plots. If specified, this must be an object of type
|
color.values |
Non-empty |
This function identifies the traits that define sample subgroups and then generates one report plot per
trait. Every report plot consists of two files. File names are formed by appending an index and file extension to
fileprefix
. Thus, the suffixes appended are "_1.pdf"
, "_1.png"
, "_2.pdf"
,
"_2.png"
, ... Existing files with the generated filenames are overwritten.
List of report plots. The names in this list are the column names in the annotation table that were selected for visualization. In case no suitable categorical traits are found among the provided annotations, this function returns an empty list.
Yassen Assenov
rnb.sample.groups
for identifying traits in the annotation table that define sample subgroups;
createReportPlot
for the allowed symbols to be used in fileprefix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.