plot_consensus {CEMiTool} | R Documentation

## Plot graph of consensus modules

### Description

Plot graph of consensus modules

### Usage

    plot_consensus(cem_overlap_df, comm_overlap_df, study_num,
      num_sd_cut = 2)

### Arguments

`cem_overlap_df` | Output `data.frame` from function `cem_overlap`
`comm_overlap_df` | Output `data.frame` from function `overlap_community`
`study_num` | Minimum number of studies an edge must be present in for it to be included
`num_sd_cut` | Number of standard deviations an edge's mean must be above in order to be included in the final plot (Default: 2)

### Value

A plot containing the consensus modules of the studies

### Examples

    ## Not run:
    # Run the cemitool function twice on expr dataset. Each time, one sample will be removed
    data(expr0)
    data(sample_annot)
    set.seed(10)
    dset1 <- expr0[,-sample(1:ncol(expr0), 1)]
    dset2 <- expr0[,-sample(1:ncol(expr0), 1)]
    cem1 <- cemitool(dset1, sample_annot, plot=FALSE)
    cem2 <- cemitool(dset2, sample_annot, plot=FALSE)
    cem_overlap_df <- cem_overlap(list(cem1, cem2))
    comm_overlap_df <- overlap_community(cem_overlap_df)
    plot_consensus(cem_overlap_df, comm_overlap_df, study_num=2)

    ## End(Not run)

[Package CEMiTool version 1.6.11 Index]