Description Usage Arguments Details Value Author(s) See Also Examples
This function retrieves the 3D structure,including metadata and coordinates for the given query(ID of the reference structure) using the data source id (or title) in the session's DAS server.
1 | getDasStructure(source, query)
|
source |
Data source id (or title). See |
query |
Query id |
This function allows to query the DAS server and returns the the 3D structure,including metadata and coordinates for the given query (id of the reference structure).
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.
Please, notice that this function codes the parameters in a URL to query the server. This function could fail if you ask for a reference structure that does not exist. Also, notice that the speed of the query depends on the number of elements and the load in the server.
Please, use this function smartly and do not overload servers.
data.frame
with the following columns: x,y,z,atomName,atomID,
occupancy,tempFactor,type,groupID,name
, which match with the contents of
the reference structure of the given query.
If there are not matching results, output is NULL
.
Oscar Flores <oflores@mmb.pcb.ub.es>
Anna Mantsoki <anna.mantsoki@bsc.es>
getDasFeature getDas-functions getDasSequence
1 2 3 4 5 6 7 8 | # Set DAS server
setDasServer(server="http://das.cathdb.info/das")
source <- "cath_pdb"
query <- "1hck" # PDB code
structure <- getDasStructure(source, query)
head(structure)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.