get_spatial_enrichment | R Documentation |
Function to get a spatial enrichment data.table
get_spatial_enrichment(
gobject,
spat_unit = NULL,
feat_type = NULL,
enrichm_name = "DWLS",
output = c("spatEnrObj", "data.table"),
copy_obj = TRUE,
set_defaults = TRUE
)
gobject |
giotto object |
spat_unit |
spatial unit (e.g. "cell") |
feat_type |
feature type (e.g. "rna", "dna", "protein") |
enrichm_name |
name of spatial enrichment results. Default "DWLS" |
output |
what format in which to get information (e.g. "data.table") |
copy_obj |
whether to deep copy/duplicate when getting the object (default = TRUE) |
set_defaults |
set default spat_unit and feat_type. Change to FALSE only when expression and spat_info are not expected to exist. |
data.table with fractions
Other spatial enrichment data accessor functions:
getSpatialEnrichment()
,
setSpatialEnrichment()
,
set_spatial_enrichment()
Other functions to get data from giotto object:
getDimReduction()
,
getExpression()
,
getFeatureInfo()
,
getGiottoImage()
,
getMultiomics()
,
getNearestNetwork()
,
getPolygonInfo()
,
getSpatialEnrichment()
,
getSpatialGrid()
,
getSpatialLocations()
,
getSpatialNetwork()
,
get_NearestNetwork()
,
get_dimReduction()
,
get_feature_info()
,
get_giottoImage()
,
get_multiomics()
,
get_polygon_info()
,
get_spatialGrid()
,
get_spatialNetwork()
,
get_spatial_locations()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.