Interact with attachments using these endpoints. Only FCS files can be analyzed in Cytobank, but any file can be uploaded as an attachment. Exported PDFs, statistics, and files also automatically attach themselves to the Experiment they are exported from. Learn more about attachments in Cytobank.
# S4 method for UserSession
attachments.delete(
UserSession,
experiment_id,
attachment_id,
timeout = UserSession@short_timeout
)# S4 method for UserSession
attachments.download(
UserSession,
experiment_id,
attachment_id,
directory = getwd(),
timeout = UserSession@long_timeout
)
# S4 method for UserSession
attachments.download_zip(
UserSession,
experiment_id,
attachment_id,
timeout = UserSession@long_timeout
)
# S4 method for UserSession
attachments.list(
UserSession,
experiment_id,
output = "default",
timeout = UserSession@short_timeout
)
# S4 method for UserSession
attachments.show(
UserSession,
experiment_id,
attachment_id,
output = "default",
timeout = UserSession@short_timeout
)
# S4 method for UserSession
attachments.update(
UserSession,
attachment,
timeout = UserSession@short_timeout
)
# S4 method for UserSession
attachments.upload(
UserSession,
experiment_id,
file_path,
output = "default",
timeout = UserSession@long_timeout
)
Cytobank UserSession object
integer representing an experiment ID
integer representing an attachment ID
integer representing the request timeout time in seconds [optional]
character representing a specific directory to which the file will be downloaded (optional ending directory slash), if left empty, the default will be the current working directory [optional]
character representing the output format [optional]
- attachments.list, attachments.show, attachments.update : ("default", "raw")
dataframe representing an attachment (can retrieve via the attachments.show endpoint)
character representing a file path
attachments.delete
Permanently delete an attachment.
attachments.download
Download an attachment from an experiment.
attachments.download_zip
Download all or a select set of attachments as a zip file from an experiment. The download link of the zip file will be sent to the user's registered email address.
attachments.list
List all attachments from an experiment. Outputs a dataframe [default] or raw list with all fields present.
- Optional output parameter, specify one of the following: ("default", "raw")
attachments.show
Show attachment details from an experiment.
- Optional output parameter, specify one of the following: ("default", "raw")
attachments.update
Update an attachment description from an experiment.
attachments.upload
Upload an attachment to an experiment.
- Optional output parameter, specify one of the following: ("default", "raw")