get_sparql_annotation_triples: get_sparql_annotation_triples

Description Usage Arguments Value Examples

View source: R/queries.R

Description

get_sparql_annotation_triples

Usage

1
2
3
4
5
6
get_sparql_annotation_triples(
  compendium = "vespucci",
  normalization = "tpm",
  target = NULL,
  query = NULL
)

Arguments

compendium

A string - the selected compendium

normalization

A string - 'tpm' (as default), 'limma' or 'legacy'

target

A string - either 'sample' or 'biofeature'

query

A string - sparql query

Value

A data.frame with 3 columns

Examples

1
2
3
4
5
6
7
8
## Not run: 
my_query=paste0('SELECT ?s ?p ?o WHERE { ?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>',
'<http://purl.obolibrary.org/obo/NCIT_C19157>',
'. ?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>',
'<http://purl.obolibrary.org/obo/PO_0009010>}')
get_sparql_annotation_triples(normalization = "legacy", target = "sample", query = my_query)

## End(Not run)

onertipaday/rcompass documentation built on Sept. 18, 2021, 5:13 p.m.