View source: R/add10xVisiumAnalysis.R
add10xVisiumAnalysis | R Documentation |
This function adds to a SPE
(SpatialExperiment-class)
object the output from read10xVisiumAnalysis()
.
add10xVisiumAnalysis(spe, visium_analysis)
spe |
A SpatialExperiment-class object. |
visium_analysis |
The output from |
You might want to use read10xVisiumWrapper()
instead of using this
function directly.
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.
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().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.