R/add10xVisiumAnalysis.R
add10xVisiumAnalysis.Rd
This function adds to a SPE
(SpatialExperiment-class)
object the output from read10xVisiumAnalysis()
.
add10xVisiumAnalysis(spe, visium_analysis)
A SpatialExperiment-class object.
The output from read10xVisiumAnalysis()
.
A
SpatialExperiment-class object
with the clustering results from SpaceRanger added to colData(spe)
and
the dimension reduction results added to reducedDims(spe)
. Added data
starts with the 10x_
prefix to make them easy to differentiate.
You might want to use read10xVisiumWrapper()
instead of using this
function directly.
Other Utility functions for reading data from SpaceRanger output by 10x
Genomics:
read10xVisiumAnalysis()
,
read10xVisiumWrapper()
## See 'Using spatialLIBD with 10x Genomics public datasets' for
## a full example using this function.
if (interactive()) {
browseVignettes(package = "spatialLIBD")
}
## Note that ?SpatialExperiment::read10xVisium doesn't include all the files
## we need to illustrate read10xVisiumWrapper().