plotNetworkGraph,NCSModel-method {PDATK} | R Documentation

## Plot a Network Graph for a Classified NCSModel Object

### Description

Visualize metaclusters predicted using network community search on the consensus clustering results for a MultiAssayExperiment of patient cohorts.

### Usage

    ## S4 method for signature 'NCSModel'
    plotNetworkGraph(object, ..., palette = "Set1", clusterLabels)

### Arguments

`object` | A classified `NCSModel` object, as returned by the `predictClasses` method.
`...` | Not used, force subsequent arguments to be named.
`palette` | `character` A valid pallete for use in `RColourBrewer::brewer.pal`
`clusterLabels` | A `character` vector of names for the metaclusters. Defaults to the cluster number.

### Value

A `ggplot` object containing the network graph, showing the relative edge distances between each cluster in each cohort along with the predicted metacluster label.

[Package PDATK version 1.0.2 Index]