get_sparql_annotation_triples

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

if (FALSE) { 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) }