Schema | R Documentation |
A Schema is an Entity that defines a set of columns in a table.
Schema(name=NULL, columns=NULL, parent=NULL, properties=NULL, annotations=NULL, description=NULL)
name |
the name for the Table Schema object |
columns |
a list of Column objects or their IDs |
parent |
the project in Synapse to which this table belongs |
properties |
A map of Synapse properties |
annotations |
A map of user defined annotations |
description |
optional named parameter: User readable description of the schema |
An object of type Schema
## Not run:
cols <- c(Column(name='Isotope', columnType='STRING'),
Column(name='Atomic Mass', columnType='INTEGER'),
Column(name='Halflife', columnType='DOUBLE'),
Column(name='Discovered', columnType='DATE'))
schema <- synStore(Schema(name='MyTable', columns=cols, parent=project))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.