Loads an example GRN object with 6 TFs, ~61.000 peaks, ~19.000 genes, 259 filtered connections and pre-calculated enrichments.
This function uses
BiocFileCache if installed to cache the example object, which is
considerably faster than re-downloading the file anew every time the function is executed.
If not, the file is re-downloaded every time anew. Thus, to enable caching, you may install the package
loadExampleObject( forceDownload = FALSE, fileURL = "https://git.embl.de/grp-zaugg/GRaNIE/-/raw/master/data/GRN.rds" )
FALSE. Should the download be enforced even if the local cached file is already present?
Character. Default https://git.embl.de/grp-zaugg/GRaNIE/-/raw/master/data/GRN.rds. URL to the GRN example object in rds format.
An small example
GRN = loadExampleObject() #> Downloading GRaNIE example object from https://git.embl.de/grp-zaugg/GRaNIE/-/raw/master/data/GRN.rds #> Finished successfully. You may explore the example object. Start by typing the object name to the console to see a summaty. Happy GRaNIE'ing!