search.ProjectSummary: Returns a series of PRIDE Archive projects to satisfy a given...

Description Usage Arguments Details Value Author(s)

View source: R/compactProject.R

Description

Returns a series of PRIDE Archive projects to satisfy a given query.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
search.ProjectSummary(
  keywords = "",
  page.size = 10,
  page.number = 0,
  sort.direction = "DESC",
  organism = "",
  organism.part = "",
  instrument = "",
  disease = "",
  modification = "",
  project.tag = "",
  project.keyword = "",
  country = ""
)

Arguments

keywords

The query term or terms

page.size

The number of projects from Pride put into the compactProjectSummary list. Limit is 100

page.number

The number of the page retrieved from Pride

sort.direction

The direction the list is sorted by. Can be DESC (descending) or ASC (ascending)

organism

The filterable field organism

organism.part

The filterable field organism.part

instrument

The filterable field instrument

disease

The filterable field disease

modification

The filterable field modification. Referred to as "identified PTM strings" elsewhere in package. Note that it is not present in the compactProjectSummary

project.tag

The filterable field project tag. Referred to as "tags" elsewhere in package

project.keyword

The filterable field project keyword. Not the same as the parameter "keywords". This field are keywords submitters specified to include in their project

country

The filterable field country. Note that it is not present in the compactProjectSummary

Details

"Keywords" searched for search through every piece of metadata in the project for matches. It can accept multiple words as a character vector They are also matched using ANY logic, meaning that if a keyword is present anywhere in the project it will return that project even if other keywords are missing. All parameters after "sort.direction" are filters that only check their respective fields for matches. The filters must be matched exactly how they appear in the meta data, otherwise it will not return projects correctly. For example, if you enter "Coloncancer" instead of "Colon cancer" it will not return any projects. It is not case sensitive, though.

Value

The search results in a list of objects

Author(s)

Tremayne Booker


booker-tremayne/new-prideR documentation built on Dec. 19, 2021, 10:48 a.m.