make_folder: Create project folders

View source: R/new_project.R

make_folderR Documentation

Create project folders

Description

Use to set up a scaffold of standard upper-level folders as well as customized data folders within "Raw Data" for a new project.

Usage

make_folder(parent, folders)

Arguments

parent

The Synapse id or object that should be the parent container, i.e. the project or another folder.

folders

List giving one or more folder names of folder(s) to create.

Value

A list of the created folder object(s).

Examples

## Not run: 
datasets <- list("sequencing data", "imaging data")
assays <- c("rnaSeq", "immunohistochemistry")
for(i in seq_along(datasets)) attr(datasets[[i]], "assay") <- assays[[i]]
make_folder(parent = "syn26462036", datasets)

## End(Not run)

nf-osi/nfportalutils documentation built on June 10, 2025, 5:08 a.m.