ClusterCorPlot: ClusterCorPlot :

Description Usage Arguments Value Examples

Description

Plots the activity level for a cluster generated by using absolute Pearson's correlation as a distance measure. Plots positively and negatively correlated genes as two different lines.

Usage

1
2
3
4
5
6
7
8
ClusterCorPlot(
  cluster.no,
  cluster.dataset,
  nthreads = NULL,
  print = TRUE,
  save = FALSE,
  path = NULL
)

Arguments

cluster.no

The number which identifies the cluster

cluster.dataset

A transcriptomics dataset where the final column details the cluster the gene belongs to. First column should be gene names. All remaining columns should be expression levels.

nthreads

Number of processor threads for the process. If not specified then the maximum number of logical cores are used.

print

Logical. If TRUE renders significant genes in the plot viewer. Defaults to TRUE

save

Logical. If TRUE, saves plots. Defaults to FALSE.

path

The directory to be used for saving plots to. Uses the working directory by default. Not used if save=FALSE

Value

Prints or saves a ggplot2 object.

Examples

1
2
3
pam.df <- PamClustering(Laurasmappings, k = 10, metric = "abs.correlation",
                        nthreads = 2)
ClusterCorPlot(2, pam.df, nthreads = 2)

nathansam/CircadianTools documentation built on Dec. 26, 2019, 11:30 a.m.