A container for OmicIDXR queries

OmicIDXQuery

Format

An object of class R6ClassGenerator of length 24.

Examples

# create a client cli = OmicIDXGraphqlClient$new() # create a query container qc = OmicIDXQuery$new() qc$query('allSraStudies', ' { allSraStudies { edges { node { accession bioproject gse title status updated } } } } ') results = dataframe_handler(cli$exec(qc$queries$allSraStudies)) dim(results)
#> [1] 500 6
head(results)
#> node.accession node.bioproject node.gse #> 1 DRP000001 PRJDA38027 NA #> 2 DRP000002 PRJDA39275 NA #> 3 DRP000003 PRJDA34559 NA #> 4 DRP000004 PRJDA34559 NA #> 5 DRP000005 PRJDA34559 NA #> 6 DRP000006 PRJDA34559 NA #> node.title #> 1 Bacillus subtilis subsp. natto BEST195 genome sequencing project #> 2 Model organism for prokaryotic cell differentiation and development #> 3 Comprehensive identification and characterization of the nucleosome structure #> 4 Comprehensive identification and characterization of the transcripts, their expression levels and sub-cellular localizations #> 5 Comprehensive identification and characterization of the transcripts, their expression levels and sub-cellular localizations #> 6 Comprehensive identification and characterization of the transcripts, their expression levels and sub-cellular localizations #> node.status node.updated #> 1 live 2019-01-25T16:06:49 #> 2 live 2017-09-17T10:08:49 #> 3 live 2017-09-17T09:55:19 #> 4 live 2017-09-17T09:55:20 #> 5 live 2017-09-17T09:55:19 #> 6 live 2017-09-17T09:55:21