Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.27 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.27 KB

grantdatavalidator

The goal of this pacakge is to validate grant data that has passed NDA validation for use in the BSMN. The submission description and instructions for creating a valid submission are available in Synapse here (requires membership in the BSMN consortium to view).

Installation

You can install grantdatavalidator with devtools:

devtools::install_github("bsmn/grantdatavalidator")

Example

This is a basic example which shows you how to validate manifests uploaded to Synapse.

It assumes that you have uploaded the three required manifest files and annotated them with the appropriate nda_short_name (one of genomics_subject02, genomics_sample03, or nichd_btb02) and grant.

library(grantdatavalidator)
library(synapser)
synLogin()

# A table that aggregates all submitted manifests - don't change this
manifestsviewid <- 'syn12031228'

# the Synapse folder ID of where the three manifests are
parentid <- 'syn12345678'

res <- validate(manifestsviewid, parentid)

RStudio

If you install this package and use RStudio, there is an RMarkdown template available titled 'BSMN Grant Data Validation Report'.