To perform all potential steps and analysis in the Giotto spatial toolbox the user needs to have a number of python modules installed. To make this process as flexible and easy as possible two different strategies can be used:
$~$
library(Giotto)
my_instructions = createGiottoInstructions(python_path = 'your/python/path') my_giotto_object = createGiottoObject(raw_exprs = '...', spatial_locs = '...', instructions = my_instructions)
$~$
as implemented in the reticulate package. In this case the environment will be automatically detected and no specific python path need to be provided. This is explained in more detail below:
library(Giotto)
installGiottoEnvironment()
installGiottoEnvironment(force_environment = TRUE)
installGiottoEnvironment(force_miniconda = TRUE)
removeGiottoEnvironment()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.