View source: R/functions_file_helpers.R
cache_FUN | R Documentation |
Title
cache_FUN( x, input_name, output_tag, FUN, input_obj = input_name, saveFUN = saveRDS, loadFUN = readRDS )
x |
a bioc cache |
input_name |
path to file FUN works on |
output_tag |
character. Used to create cache result identifier (rname). New rname will be either 1) the result of adding this tag to rname of input_name if input_name is cached or 2) the result of adding this tag to basename of input_name if uncached. If this new rname exists in cache, cached result will be used and FUN will not be rerun. |
FUN |
function that accepts one file path as it's only argument. the output of FUN(input_name) will be returned, either from running or cached if available. |
object returned by FUN(input_obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.