saveNupload: A function to save serialized objects and upload to...

View source: R/saveNupload.R

saveNuploadR Documentation

A function to save serialized objects and upload to ExperimentHub

Description

This function requires the user to obtain AWS CLI credentials to ExperimentHub for it to work.

Usage

saveNupload(
  dataList,
  cancer,
  directory,
  version,
  upload,
  fileExt = ".rda",
  container
)

Arguments

dataList

A List of experiment data for a MultiAssayExperiment

cancer

A single string indicating the TCGA cancer code

directory

The file location for saving serialized data pieces

version

character(1) A version string for versioning data runs (such as "1.0.0")

upload

logical(1) Whether to upload the data to the AWS S3 bucket

fileExt

character(1) The character pattern for matching files in the directory location for upload (excludes 'Methylation' datasets which are handled separately)

container

'character(1)' The name of the container on Azure

Value

Function saves and uploads data to the ExperimentHub AWS S3 bucket


waldronlab/MultiAssayExperiment.TCGA documentation built on May 19, 2023, 6:06 p.m.