Learn R Programming

AtlasRDF (version 1.8.0)

getPathwaysFromGenesAndCondition: Get pathways connected to genes which are differentially expressed for a user specified condition.

Description

Get list of pathway names that are connected to genes (via proteins which are encoded for by those genes) and which are reported as differentially expressed under a specified condition. The condition is specified as an ontology URI.

Usage

getPathwaysFromGenesAndCondition(condition, endpoint = "http://www.ebi.ac.uk/rdf/services/atlas/sparql")

Arguments

condition
URI of a condition based on the EFO ontology class.
endpoint
The location of the SPARQL endpoint - default value is live Atlas endpoint

Value

Returns a data frame with the following:
pathwayname
The name of the pathway
pathway
The URI identifier of the pathway
expressionvalue
The gene and expression for the pathway
pvalue
p-value of the differential expression of the gene for this pathway in this condition

Examples

Run this code
    ###get pathways connected to genes which are differentially expressed for HeLa (efo:EFO_00011185)
    #getPathwaysFromGenesAndCondition("efo:EFO_0001185")
    

Run the code above in your browser using DataLab