Skip to contents

shows the available spatial enrichment results

Usage

showGiottoSpatEnrichments(gobject, nrows = 4)

Arguments

gobject

giotto object

nrows

number of rows to print for each spatial enrichment data.table

Value

prints the name and small subset of available data.table

Examples

g <- GiottoData::loadGiottoMini("vizgen")
#> 1. read Giotto object
#> 2. read Giotto feature information
#> 3. read Giotto spatial information
#> 3.1 read Giotto spatial shape information
#> 3.2 read Giotto spatial centroid information
#> 3.3 read Giotto spatial overlap information
#> 4. read Giotto image information
#> python already initialized in this session
#>  active environment : 'giotto_env'
#>  python version : 3.10
#> checking default envname 'giotto_env'
#> a system default python environment was found
#> Using python path:
#>  "/usr/share/miniconda/envs/giotto_env/bin/python"

showGiottoSpatEnrichments(g)
#> Spatial unit:  aggregate  
#> 
#> --> Feature type:  rna  
#> 
#> ----> Name  cluster_metagene : 
#>           1         2         3         4     5
#>       <num>     <num>     <num>     <num> <num>
#> 1: 1.014837 0.0000000 0.3160792 0.0000000     0
#> 2: 3.207415 0.9579716 0.6728505 0.2132677     0
#> 3: 3.953661 0.4604975 0.0000000 0.2302488     0
#> 4: 4.093622 0.5886051 0.1962017 0.5886051     0
#>                                    cell_ID
#>                                     <char>
#> 1: 240649020551054330404932383065726870513
#> 2: 274176126496863898679934791272921588227
#> 3: 323754550002953984063006506310071917306
#> 4:  87260224659312905497866017323180367450