loadExampleObject.Rd
Loads a diet example SPATA2
object.
loadExampleObject(sample_name, process = FALSE, meta = FALSE, verbose = TRUE)
Character value. One of c("UKF275T", "UKF313T", "UKF269T", "LMU_MIC")
.
Logical value. If TRUE
, the object is processed via:
using their default setup (in this precise order).
Logical value. If TRUE
, adds some meta features like clustering, histological
segmentation or copy number variation results to the meta data.frame that has been
computed prior to reducing the object to the example version.
Logical. If TRUE
, informative messages regarding
the computational progress will be printed.
(Warning messages will always be printed.)
A reduced diet object of class SPATA2
.
The example objects only contain a subsetted count matrix. If you want to work
with the complete data sets, use downloadSpataObject()
.
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")