set_dimReduction
¶
Set dimension reduction
Description¶
Function to set a dimension reduction slot
Usage¶
set_dimReduction(
gobject,
spat_unit = NULL,
feat_type = NULL,
reduction = c("cells", "genes"),
reduction_method = c("pca", "umap", "tsne"),
name = "pca",
dimObject
)
Arguments¶
Argument |
Description |
---|---|
|
giotto object |
|
spatial unit |
|
feature type |
|
reduction on cells or features |
|
reduction method (e.g. pca) |
|
name of reduction results |
|
dimension object result to set |
Value¶
giotto object
Seealso¶
- Other dimensional reduction data accessor functions:
``get_dimReduction` <#getdimreduction>`_
Other functions to set data in giotto object: ``set_NearestNetwork` <#setnearestnetwork>`_ , ``set_expression_values` <#setexpressionvalues>`_ , ``set_feature_info` <#setfeatureinfo>`_ , ``set_giottoImage` <#setgiottoimage>`_ , ``set_polygon_info` <#setpolygoninfo>`_ , ``set_spatialGrid` <#setspatialgrid>`_ , ``set_spatialNetwork` <#setspatialnetwork>`_ , ``set_spatial_enrichment` <#setspatialenrichment>`_ , ``set_spatial_locations` <#setspatiallocations>`_