ClusterExperiment ObjectImportant If you have objects created since 2.0.0 but with a version < 2.3.0 (i.e. including 2.0.0), you should run updateObject to update the class definition because there have been changes to the class definition since that version:
ceObj<-updateObject(ceObj)
Warning This command will, however, loose information saved about the last mergeClusters call that you have made if your object is from version < 2.1.4. You may want to save that information and manually update the slots. If you do so, make sure you call validObject to make sure that you have done so correctly (in particular, you will have to have a value for the slot merge_demethod, see ?ClusterExperiment which is a new slot). For example,
ceObjNew<-updateObject(ceObj)
ceObjNew@merge_index<-ceObj@merge_index
<etc>
If you have objects from before 2.0.0 (when the class was called 'clusterExperiment'), you should construct a new object using the ClusterExperiment function. For example,
ceObjNew<-ClusterExperiment(
se=as(ceObj,"SingleCellExperiment"),
clusterMatrix=ceObj@clusterMatrix,
<etc>
)
See ?ClusterExperiment for the names of the slots.
There have also been a number of changes and enhancements to the package. These are the most important (a complete list is detailed in the NEWS file of the package -- all releases since May 1, 2018)
combineMany to makeConsensus. This has resulted in changes to the names of the arguments of RSECcombineProportion -> consensusProportion in RSECcombineMinSize -> consensusMinSize in RSECgetBestFeatures to allow edgeR for DE, as well as weights used with edgeR for compatability with weights to handle zero-inflation. As part of this change isCount argument has been replaced with more fine-grained DEMethod argument in getBestFeatures, mergeClusters; and the argument mergeDEMethod in RSEC is now available.sampleData in various plotting commands to colData to better indicate that the argument is to identify columns in colData that should also be plotted. Furthermore plotDendrogram now takes the argument colData for plotting of information in colData with the dendrogram.-1 or -2 assignments) to more consistently use the term "unassigned", as well as adding the function assignUnassigned:removeNegative -> removeUnassigned in getBestFeatures ignoreUnassignedVar -> filterIgnoresUnassigned in mergeClusters (and other functions) for clarity.removeUnclustered -> removeUnassignedplotTableClustersplotFeatureScattersubsample and sequential to RSEC to allow for opting out of those options for large datasets (but default is TRUE unlike clusterMany)whichAssay is added to most functions to allow the user to select the assay on which the operations will be performed.phylo4d class of phylobase package (previously we stored them as a dendrogram class). This makes it easier to store information about the dendrograms and manipulate them. There are various helper functions related to this change. See ?clusterDendrogram. coClustering slot as a sparseMatrix class from the package Matrix. This will reduce the size of the object in memory. Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.