Folder: Constructor for objects of type Folder

FolderR Documentation

Constructor for objects of type Folder

Description

Represents a folder in Synapse.

Folders must have a name and a parent and can optionally have annotations.

Usage

Folder(name=NULL, parent=NULL, annotations=NULL)

Arguments

name

The name of the folder

parent

The parent project or folder

annotations

A map of user defined annotations

Value

An object of type Folder

Examples

## Not run: 
folder <- Folder('my data', parent=project, annotations=c(foo='bar', bat=101))
folder <- synStore(folder)
folder$annotations$foo

## End(Not run)

Sage-Bionetworks/synapseclient documentation built on Feb. 9, 2024, 4:26 p.m.