person: Person queries

Description Usage Arguments Details Value Examples

Description

rtperson() retrieves a specific person's information in Ractome by his/her OrcidId or DbId. authoredPathways() or authoredPublication() can be used to get a list of pathways or publications authored by a given person.

Usage

1
2
3
4
5
6
rtperson(id, attributeNames, ...)
rtperson(name, exactlyMatch, ...)

authoredPathway(id, silent = FALSE)

authoredPublication(id, silent = FALSE)

Arguments

id

string or charactor vector.Person identifier: Can be OrcidId, DbId. Email can also be used for the methods authoredPathway() or authoredPublication()

name

string or character vector.first or last name of people you want to search in Reactome.

exactlyMatch

logical.If TRUE, the default, a list of people in Reactome with either their first or last name matching exactly the given string(name) will be returned for name query method.

attributeNames

string. Parameter for id query method. Attribute names to be filtered. If NULL, the default, no filtration wil be done.

silent

logical. Run quitely.

Details

When exactlyMatch = false, name should be a string or character vector of length 1. Only one of id and name needs to be specified, the other remains null.

Value

a data frame.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
id.query = rtperson(id = c("0000-0001-5807-0069","5251225"),
attributeNames = c("displayName", "firstname"), silent = FALSE)
# query for all properties of "0000-0001-5807-0069" and "5251225"
(id.query = rtperson(id = c("0000-0001-5807-0069","5251225"),
attributeNames = NULL, silent = TRUE) )
# search by name
name.query = rtperson(name = c("Steve Jupe", "Tam Angela"), exactlyMatch = TRUE, silent = FALSE)

# get a list of pathways or publications authored by given people
dt.1 = authoredPublication(id = "0000-0001-5807-0069",silent = FALSE)
dt.2 = authoredPathway(id = "0000-0001-5807-0069",silent = FALSE)

VonWebEinstein/ReactomeAPI documentation built on May 9, 2019, 10:02 p.m.