ClusterDatasetPlot: ClusterDatasetPlot :

Description Usage Arguments Value Examples

View source: R/cluster_functions.R

Description

Plots the mean and error bars for all clusters across time

Usage

1
2
3
4
5
6
7
ClusterDatasetPlot(
  cluster.dataset,
  nthreads = NULL,
  print = TRUE,
  save = FALSE,
  path = "cluster_overview"
)

Arguments

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. Creates the directory if it doesn't already exist. Defaults to cluster_overview

Value

Prints or saves ggplot2 object(s).

Examples

1
2
pam.df <- PamClustering(Laurasmappings, k = 10, nthreads = 2)
ClusterDatasetPlot(pam.df, nthreads = 2)

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