colFeatureData | R Documentation |
Results of spatial analyses on columns in colData
, rowData
, and
geometries are stored in their metadata, which can be accessed by the
metadata
function. The colFeaturedata
function allows
the users to more directly access these results.
colFeatureData(sfe)
rowFeatureData(sfe)
geometryFeatureData(sfe, type, MARGIN = 2L)
reducedDimFeatureData(sfe, dimred)
sfe |
An SFE object. |
type |
Which geometry, can be name (character) or index (integer) |
MARGIN |
Integer, 1 means rowGeometry, 2 means colGeometry, and 3 means annotGeometry. Defaults to 2, colGeometry. |
dimred |
Name of a dimension reduction, can be seen in
|
A DataFrame
.
getParams
library(SpatialFeatureExperiment)
library(SingleCellExperiment)
library(SFEData)
library(Voyager)
sfe <- McKellarMuscleData("small")
colGraph(sfe, "visium") <- findVisiumGraph(sfe)
# Moran's I for colData
sfe <- colDataMoransI(sfe, "nCounts")
colFeatureData(sfe)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.