View source: R/assign_study_data_types.R
assign_study_data_types | R Documentation |
Data types are summarized, or "rolled-up", for the study based on its child file annotations.
Summary values are added back as and overwrites the current dataType
annotation for the study.
See also the related update_study_annotations
, where study-level annotations are rolled down to child files.
Note that under-the-hood this now wraps a generalized util summarize_attribute
.
assign_study_data_types(
study_table_id,
fileview_id,
id_col = "studyId",
attribute = "dataType",
dry_run = TRUE
)
study_table_id |
Synapse ID of reference portal study table. Used to get study ids. |
fileview_id |
Synapse ID of the reference portal fileview. |
id_col |
Name of the study id column in |
attribute |
Attribute being summarized using fileview. Defaults to |
dry_run |
Default = TRUE. Whether to update as well or just return list of annotation objects. |
List of annotations objects.
## Not run:
assign_study_data_types(study_table_id = 'syn52694652',
fileview_id = 'syn16858331',
id_col = 'studyId',
attribute = 'dataType',
dry_run = T)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.