drop | R Documentation |
Upload DROP file(s) into Cytobank. A DROP file consists of any CSV, TSV, TXT, or FCS file. If the DROP file is of the type CSV, TSV, or TXT, the file will be converted to an FCS file to be used within Cytobank. Learn more about DROP.
## S4 method for signature 'UserSession'
drop.upload(
UserSession,
experiment_id,
file_path,
data_matrix_start_row = 2,
data_matrix_start_column = 1,
skipped_columns = c(),
output = "default",
timeout = UserSession@long_timeout
)
UserSession |
Cytobank UserSession object |
experiment_id |
integer representing an experiment ID |
file_path |
character representing a file path |
data_matrix_start_row |
integer representing the start row of the DROP file(s) |
data_matrix_start_column |
integer representing the start column of the DROP file(s) |
skipped_columns |
vector/list of integer(s) representing column(s) of the DROP file to skip |
output |
character representing the output format [optional] |
timeout |
integer representing the request timeout time in seconds [optional] |
drop.upload
Upload a DROP file (CSV, TSV, TXT, FCS) to an experiment.
- Optional output parameter, specify one of the following: ("default", "raw")
## Not run: # Authenticate via username/password
cyto_session <- authenticate(site="premium", username="cyril_cytometry", password="cytobank_rocks!")
# Authenticate via auth_token
cyto_session <- authenticate(site="premium", auth_token="my_secret_auth_token")
## End(Not run)
## Not run: drop.upload(cyto_session, 22, file_path="/path/to/my_drop_file.type",
data_matrix_start_row=2, data_matrix_start_column=1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.