clusterPlotR-methods: Generic clusterPlotR function

clusterPlotRR Documentation

Generic clusterPlotR function

Description

plotting function for clustering objects

Usage

clusterPlotR(cData, cls, x, NC, ...)

## S4 method for signature 'ANY,kmeans'
clusterPlotR(
  cData = NA,
  cls = NA,
  x = NA,
  NC = NA,
  annoIndx = NA,
  label = NULL,
  ...
)

## S4 method for signature 'ANY,hclust'
clusterPlotR(
  cData = NA,
  cls = NA,
  x = NA,
  NC = NA,
  annoIndx = NA,
  label = NULL,
  ...
)

Arguments

cData

data used to get clusters

cls

a cluster (kmeans or hclust) object

x

a vector of length equal to number of samples to use for plotting

NC

vector of integers indicating which clusters to use

...

additional parameters for plotting. ex. pch,cex,col,labels, xlab, etc.

annoIndx

vector indexing into subsets for plotting

label

character vector to use for plotting text, defaults is NULL

Value

A plot of the mean behavior for each cluster

Examples

## Not run: 
 k.RNAseq6l3c3t<-kmeans(p.RNAseq6l3c3t,22)
 clusterPlotR(p.RNAseq6l3c3t, cls=k.RNAseq6l3c3t,NC=1,x=pd.RNAseq6l3c3t$days,
col=pd.RNAseq6l3c3t$color)

## End(Not run)

genesofeve/projectoR documentation built on Nov. 16, 2024, 8:21 p.m.