plot_profile {CEMiTool} | R Documentation

## Expression profile visualization

### Description

Creates a plot with module gene expression profiles along samples

### Usage

    plot_profile(cem, ...)

    ## S4 method for signature 'CEMiTool'
    plot_profile(cem, order_by_class = TRUE, center_func = "mean")

### Arguments

`cem` | Object of class `CEMiTool`.
`...` | Optional parameters.
`order_by_class` | Logical. Only used if a sample annotation file is present. Whether or not to order by the class column in the sample annotation file (as defined by the class_column slot in `cem`).
`center_func` | Character string indicating the centrality measure to show in the plot. Either 'mean' (the default) or 'median'.

### Value

Object of class `CEMiTool` with profile plots

### Examples

    # Get example CEMiTool object
    data(cem)
    # Plot module gene expression profiles
    cem <- plot_profile(cem)
    # Check resulting plot
    show_plot(cem, "profile")

[Package CEMiTool version 1.18.1 Index]