Learn R Programming

pRoloc (version 1.12.3)

ClustDistList-class: Storing multiple ClustDist instances

Description

A class for storing lists of ClustDist instances.

Arguments

Objects from the Class

Object of this class are created with the clustDist function.

Examples

Run this code
library('pRolocdata')
  data(dunkley2006)
  par <- setAnnotationParams(inputs =
                    c("Arabidopsis thaliana genes",
                    "TAIR locus ID"))
                    
  ## add protein set/annotation information                  
  xx <- addGoAnnotations(dunkley2006, par)
  
  ## filter
  xx <- filterMinMarkers(xx, n = 50)
  xx <- filterMaxMarkers(xx, p = .25)
  
  ## get distances for protein sets
  dd <- clustDist(xx)
  
  ## plot distances for all protein sets 
  plot(dd)
  
  names(dd)
  
  ## Extract first 4 ClustDist objects of the ClustDistList
  dd[1:4]
  
  ## Extract 1st ClustDist object
  dd[[1]]

Run the code above in your browser using DataLab