Using this function you can list all matrix profiles that are available in a collection from a JASPAR release.

rba_jaspar_collections_matrices(
  collection,
  release = 2020,
  only_last_version = FALSE,
  search = NULL,
  order = NULL,
  page_size = 1000,
  page = 1,
  ...
)

Arguments

collection

JASPAR Collection's name. See JASPAR Collections for information. The accepted values are: "CORE", "CNE", "PHYLOFACTS", "SPLICE", "POLII", "FAM", "PBM", "PBM_HOMEO", "PBM_HLH", and "UNVALIDATED".

release

Numeric: (default = 2020) Which JASPAR database release to use? Available options are: 2014, 2016, 2018, and 2020.

only_last_version

Logical: (default = FALSE) If TRUE, only the latest version of a matrix profile will be returned.

search

Character: A search term.

order

Character: A character string or a vector of character strings of field names that will be used to order the results.
Providing multiple field names is supported. You can also use prefix "-" before a field name to indicate reverse ordering.

page_size

Numeric: (default = 1000) This resource returns paginated results. What is the maximum numbers of results that you want to retrieve per a page? Accepted values are between 1 and 1000.

page

Numeric: Which page of the results to retrieve? The accepted values depend on the page size and number of results.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list that contains a data frame with information of matrix profiles available in the collection.

Details

The results are paginated. You can control the page's size number with the function's arguments. Also, you can use rba_pages to automatically iterate over multiple pages.

Corresponding API Resources

"GET "http://jaspar.genereg.net/api/v1/collections/collection/"

References

  • Fornes O, Castro-Mondragon JA, Khan A, et al. JASPAR 2020: update of the open-access database of transcription factor binding profiles. Nucleic Acids Res. 2019; doi: 10.1093/nar/gkz1001

  • Khan, A. and Mathelier, A. JASPAR RESTful API: accessing JASPAR data from any programming language. Bioinformatics, 2017, doi: 10.1093/bioinformatics/btx804

  • Khan, A. et al. JASPAR 2018: update of the open-access database of transcription factor binding profiles and its web framework. Nucleic Acids Res. 2018; 46:D260–D266, doi: 10.1093/nar/gkx1126

  • JASPAR API Documentation

See also

Examples

# \donttest{
rba_jaspar_collections_matrices(collection = "CORE",
  release = 2020,
  page_size = 100,
  page = 2)
# }