Change the output directory of a GRN object

changeOutputDirectory(GRN, outputDirectory = ".")

Arguments

GRN

Object of class GRN

outputDirectory

Character. Default .. New output directory for all output files unless overwritten via the parameter outputFolder.

Value

An updated GRN object, with the output directory being adjusted accordingly

Examples

GRN = loadExampleObject()
#> Downloading GRaNIE example object from https://git.embl.de/grp-zaugg/GRaNIE/-/raw/master/data/GRN.rds
#> INFO [2023-08-16 17:27:48] Storing GRN@data$RNA$counts matrix as sparse matrix because fraction of 0s is > 0.1 (0.44)
#> Finished successfully. You may explore the example object. Start by typing the object name to the console to see a summaty. Happy GRaNIE'ing!
GRN = changeOutputDirectory(GRN, outputDirectory = ".")
#> INFO [2023-08-16 17:27:48] Output directory changed in the object to .