plot_expression_profile {BioNERO} | R Documentation

## Plot expression profile of given genes across samples

### Description

Plot expression profile of given genes across samples

### Usage

    plot_expression_profile(
      genes,
      exp,
      metadata,
      plot_module = TRUE,
      net,
      modulename
    )

### Arguments

`genes` | Character vector containing a subset of genes from which edges will be extracted. It can be ignored if `plot_module` is TRUE.
`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, `genes` must be specified.
`net` | List object returned by `exp2net`.
`modulename` | Name of the module to plot.

### Value

A ggplot object showing the expression profile of some genes across all samples.

### Author(s)

Fabricio Almeida-Silva

### See Also

`melt`

### Examples

    data(zma.se)
    data(filt.se)
    genes <- rownames(filt.se)
    plot_expression_profile(genes=genes, exp=zma.se, plot_module=FALSE)

[Package BioNERO version 1.0.4 Index]