Skip to contents

Retrieve or set the active feature type. This value will be the default feature type that the giotto object uses.

Usage

# S4 method for class 'giotto'
activeFeatType(gobject)

# S4 method for class 'giotto,character'
activeFeatType(gobject) <- value

Arguments

gobject

giotto object

value

feat_type to set as default

Value

active feature type

Examples

g <- GiottoData::loadGiottoMini("visium")
#> 1. read Giotto object
#> 2. read Giotto feature information
#> 3. read Giotto spatial information
#> 4. read Giotto image information
#> checking default envname 'giotto_env'
#> a system default python environment was found
#> Using python path:
#>  "/usr/bin/python3"
#> Warning: Some of Giotto's expected python module(s) were not found:
#> pandas, igraph, leidenalg, community, networkx, sklearn
#> (This is fine if python-based functions are not needed)
#> 
#> ** Python path used: "/usr/bin/python3"
activeFeatType(g)
#> [1] "rna"