save_rda: save a list of matrix objects

Description Usage Arguments Value See Also Examples

View source: R/save_rda.R

Description

When the output of read_dir is piped to save_rda (and dir_path is provided), an rda file ready to be uploaded to AWS S3 will be saved at the location specified. Here, dir_path should be the top-level directory (e.g. ~/uploads/) in which an organized directory structure will be created. That is, users should not provided a nested directory path, existing after the first run of save_rda, to dir_path.

Usage

1
save_rda(list_obj, dir_path)

Arguments

list_obj

list object obtained from read_dir

dir_path

path to a directory where the rda file will be saved

Value

the NULL object will be returned invisibly

See Also

read_dir() make_csv()

Examples

1
2
3
4
5
6
## Not run: 

read_dir("~/AsnicarF_2017/genefamilies_relab/") %>%
    save_rda("~/uploads/")

## End(Not run)

waldronlab/curatedMetagenomicDataPipeline documentation built on Oct. 15, 2021, 6:38 a.m.