Skip to contents

read dimension reduction results from list

Usage

readDimReducData(
  data_list,
  default_spat_unit = NULL,
  default_feat_type = NULL,
  reduction = c("cells", "feats"),
  provenance = NULL,
  verbose = TRUE
)

Arguments

data_list

(nested) list of dimension reduction input data

default_spat_unit

(optional) default spat_unit to use

default_feat_type

(optional) default feat_type to use

reduction

whether dim reduction was performed on 'cels' or 'feats'

provenance

(optional) provenance information

verbose

be verbose

Value

dimObj

Examples

x <- GiottoData::loadSubObjectMini("dimObj")

readDimReducData(x)
#> [[1]]
#> An object of class dimObj : "pca"
#> --| Contains dimension reduction generated with: pca 
#> ----| for feat_type: rna 
#> ----|     spat_unit: aggregate 
#> 
#>    100 dimensions for 462 data points
#> 
#> Additional included info:
#> [1] "eigenvalues" "loadings"   
#> 
#>