loadExampleObject | R Documentation |
Loads a diet example SPATA2
object.
loadExampleObject(sample_name, process = FALSE, meta = FALSE, verbose = TRUE)
sample_name |
Character value. One of |
process |
Logical value. If
using their default setup (in this precise order). |
meta |
Logical value. If |
verbose |
Logical. If (Warning messages will always be printed.) |
The example objects only contain a subsetted count matrix. If you want to work
with the complete data sets, use downloadSpataObject()
.
A reduced diet object of class SPATA2
.
library(SPATA2)
# simply load
object <- loadExampleObject(sample_name = "UKF269T")
# load, process and add some meta data
object_proc <- loadExampleObject(sample_name = "UKF269T", process = TRUE, meta = TRUE)
getMatrixNames(object)
getMatrixNames(object_proc)
plotSurface(object, color_by = "histology") # fails
plotSurface(object_proc, color_by = "histology")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.