Skip to contents

shows the available cell metadata

Usage

showGiottoCellMetadata(gobject, nrows = 4)

Arguments

gobject

giotto object

nrows

number of rows to print for each metadata

Value

prints the name and small subset of available metadata

Examples

g <- GiottoData::loadGiottoMini("visium")
#> 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"

showGiottoCellMetadata(g)
#> └──Spatial unit "cell"
#>    └──Feature type "rna"
#>          An object of class cellMetaObj 
#>          spat_unit : "cell"
#>          feat_type : "rna"
#>          provenance: cell 
#>          dimensions: 4 7 
#>          
#>                        cell_ID in_tissue nr_feats perc_feats total_expr leiden_clus
#>                         <char>     <int>    <int>      <num>      <num>       <num>
#>          1: AACTCGATGGCGCAGT-1         1      265   41.79811  1057.9308           2
#>          2: GGCTGGCTAGCTTAAA-1         1      279   44.00631  1064.7493           5
#>          3: GACGCCTGTTGCAGGG-1         1      219   34.54259   964.9294           2
#>             custom_leiden
#>                     <num>
#>          1:             4
#>          2:             3
#>          3:             3
#>