Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

(plus) Find more information on annotating your data at Annotating Data With Metadata /wiki/spaces/DOCS/pages/2667708522.

You can use annotations to select specific subsets of your data across many projects or folders and group things together in one view.

...

This guide explains how to create views from the web client. Instructions for creating views using the programmatic clients can be found in the Python docs and the R docs.

Creating a File View

A file view lists all files or tables within one or more folders or projects. To create a file view, navigate to the project where you would like to create the view. The project you choose does not have to contain the items you are including in your file view. Navigate into the Tables tab and select Add File View from the Tables Tools menu. You will select the files of interest by defining the scope, which is the project(s) and folders that contain your files. File views can also contain tables or folders; you can choose which kinds of items you would like to include during the setup process. The scope of a file view can have a maximum of 20,000 folders or sub-folders.

Creating a Project View

A project view lists all projects you’ve added to the view. To create a project view, select the project in which you would like to create the view. Navigate into the Tables tab and select Add Project View from the Tables Tools menu. You will select the projects of interest by defining the scope as above for file views. The only notable difference between creating a project view and a file view is that for project views, there is a 1:1 relationship between the projects you select in your scope and the projects that are shown in the view. The scope of a project view can have a maximum of 20,000 projects

View Limits

File and Project views are limited in the count of objects in scope.

  • File views can have a maximum of 35,000 containers in scope.

  • Project/Folder views can have a maximum of 10,000 child objects.

For example: A single view for a project may have 35,000 folders, with 10,000 files in each folder for a total of 350,000,000 child objects.

Creating a Submission View

...

A view can be queried like any other table in Synapse. See Querying Tables, Views, and Datasets

(plus) See /wiki/spaces/DOCS/pages/2667642897 for more information.

Inserting a View into a Wiki

...

(plus) To add new annotations, see Annotating Data With Metadata /wiki/spaces/DOCS/pages/2667708522.

For example, if you would like to use the Python client to update the annotation “dogSays:bark” to “dogSays:woof” for every file in a file view with the synID syn12345678, you can use:

...

(plus) For more information on versioning a view, see Versioning Tables, Views, and Datasets /wiki/spaces/DOCS/pages/2667675758.