plot_expression_profile {BioNERO} | R Documentation |
Plot expression profile of given genes across samples
plot_expression_profile( genes, exp, metadata, plot_module = TRUE, net, modulename )
genes |
Character vector containing a subset of genes from which
edges will be extracted. It can be ignored if |
exp |
A gene expression data frame with genes in row names and samples in column names or a 'SummarizedExperiment' object. |
metadata |
A data frame containing sample names in row names and sample annotation in the first column. Ignored if 'exp' is a 'SummarizedExperiment' object, since the function will extract colData. |
plot_module |
Logical indicating whether to plot a whole module or not.
If set to FALSE, |
net |
List object returned by |
modulename |
Name of the module to plot. |
A ggplot object showing the expression profile of some genes across all samples.
Fabricio Almeida-Silva
data(zma.se) data(filt.se) genes <- rownames(filt.se) plot_expression_profile(genes=genes, exp=zma.se, plot_module=FALSE)