plotData: Plot sRACIPE data

Description Usage Arguments Related Functions

View source: R/plot.R

Description

Plots heatmap, pca, umap of the data simulated using sRACIPE

Usage

1
2
3
4
plotData(rSet = rSet, plotToFile = TRUE, nClusters = 2,
  pcaPlot = TRUE, umapPlot = TRUE, networkPlot = TRUE,
  clustMethod = "ward.D2", col = col, distType = "euclidean",
  assignedClusters = NULL, corMethod = "spearman")

Arguments

rSet

List A list returned by simulateGRC function

plotToFile

(optional) logical. Default TRUE. Whether to save plots to a file.

nClusters

(optional) Integer. Default 2. Expected number of clusters in the simulated data. Hierarchical clustering will be used to cluster the data and the the models will be colored in UMAP and PCA plots according to these clustering results. The clusters can be also supplied using assignedClusters.

pcaPlot

(optional) logical. Default TRUE. Whether to plot PCA embedding.

umapPlot

(optional) logical. Default TRUE. Whether to plot UMAP embedding

networkPlot

(optional) logical. Default TRUE. Whether to plot the network.

clustMethod

(optional) character. Default "ward.D2". Clustering method for heatmap. See heatmap.2

col

(optional) Color palette

distType

(optional) Distance type. Used only if specified explicitly. Otherwise, 1-cor is used. See dist, hclust

assignedClusters

vector integer or character. Default NULL. Cluster assignment of models.

corMethod

(optional) character. Default "spearman". Correlation method for distance function.

Related Functions

simulateGRC, knockdownAnalysis, overExprAnalysis, plotData, calcHeatmapSimilarity


TheJacksonLaboratory/sRACIPE_dev documentation built on May 7, 2019, 8:16 a.m.