EntityViewSchema | R Documentation |
A EntityViewSchema is a Entity that displays all files/projects (depending on user choice) within a given set of scopes
EntityViewSchema(name=NULL, columns=NULL, parent=NULL, scopes=NULL, type=NULL, includeEntityTypes=NULL, addDefaultViewColumns=TRUE, addAnnotationColumns=TRUE, ignoredAnnotationColumnNames=list(), properties=NULL, annotations=NULL)
name |
the name of the Entity View Table object |
columns |
a list of Column objects or their IDs. These are optional. |
parent |
the project in Synapse to which this table belongs |
scopes |
a list of Projects/Folders or their ids |
type |
This field is deprecated. Please use 'includeEntityTypes' |
includeEntityTypes |
a list of entity types to include in the view. Supported entity types are: |
addDefaultViewColumns |
If true, adds all default columns (e.g. name, createdOn, modifiedBy etc.) |
addAnnotationColumns |
If true, adds columns for all annotation keys defined across all Entities in |
ignoredAnnotationColumnNames |
A list of strings representing annotation names. |
properties |
A map of Synapse properties |
annotations |
A map of user defined annotations |
An object of type EntityViewSchema
## Not run:
project_or_folder <- synGet("syn123")
schema <- EntityViewSchema(name='MyFileView', parent=project, scopes=c(project_or_folder$properties$id, 'syn456'), includeEntityTypes=c(EntityViewType$FILE, EntityViewType$FOLDER))
schema <- synStore(schema)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.