SubmissionView : delete_column
SubmissionView_DeleteColumn.RdMark a column for deletion. Note that this does not delete the column from
Synapse. You must call the synStore() function on this SubmissionView instance to
delete the column from Synapse. This is a convenience function to eliminate
the need to manually delete the column from the named list and add it to the
$_columns_to_delete attribute.
Examples
if (FALSE) { # \dontrun{
## Deleting a column
# This example shows how you may delete a column from a submission view and
# then store the change back in Synapse.
library(synapser)
synLogin()
view = SubmissionView(id = "syn1234") |> synGet(table_options = TableOptions(include_columns = TRUE))
view |> synDeleteColumn(name = "my_column")
view |> synStore()
} # }