getDas-functions: DAS metadata information handling

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Functions to query metadata from the DAS server.

Usage

1
2
3
4
5
6

Arguments

server

URL of the DAS server.

source

The data source id to get the metadata from. Be sure this information is consistent with those returned by getDasSource. In somes cases, depending on the server, you might need to use the source title, instead of the source id.

as.GRanges

For getDasEntries, return a GRanges object instead of a data.frame (if possible).

Details

The functions documented in this man page are used to set the session's DAS server and retrieve metadata from it.

Please, be sure to pass the identifiers EXACTLY as the values returned by the functions available here (DAS is case-sensitive). It is also recommended that you check the capabilities for each of the data sources.

For performance reasons, the values in the main calls getDasFeature, getDasSequence, getDasStructure are not validated against the server. If you pass wrong values for source, ranges or types it will result in NULL, but no error will rise.

Value

For getDasSever, getDasDsn and getDasTypes a character vector

For getDasSource a data.frame with the information of the DBs

For getDasEntries a GRanges (as.GRanges=TRUE) or data.frame otherwise

Author(s)

Oscar Flores <oflores@mmb.pcb.ub.es>

Anna Mantsoki <anna.mantsoki@bsc.es>

See Also

getDasFeature getDasSequence getDasStructure

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
    # Set session server to EMBL-EBI Genomic DAS Server

    setDasServer(server="http://www.ebi.ac.uk/das-srv/genomicdas/das")

    print(getDasServer())

    sources <- getDasSource()
    print(sources)

    dsn_sources <- getDasDsn()
    print(dsn_sources)

    entries <- getDasEntries(sources$id[[1]])
    print(entries)

    types <- getDasTypes(sources$id[[1]])
    print(types)

gthar/DASiR documentation built on May 17, 2019, 8:56 a.m.