Skip to contents

Prints the available giotto images that are attached to the Giotto object

Usage

list_images(gobject, img_type = NULL)

Arguments

gobject

giotto object

img_type

"image" or "largeImage"

Value

data.table of giotto image names attached to the giotto object

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"
list_images(g)
#> Index: <img_type>
#>        name   img_type
#>      <char>     <char>
#> 1:  dapi_z0 largeImage
#> 2:  dapi_z1 largeImage
#> 3: polyT_z0 largeImage
#> 4: polyT_z1 largeImage
list_images(g, img_type = "largeImage")
#>        name   img_type
#>      <char>     <char>
#> 1:  dapi_z0 largeImage
#> 2:  dapi_z1 largeImage
#> 3: polyT_z0 largeImage
#> 4: polyT_z1 largeImage