Skip to content

An example client showing how to connect to biovel services from within R

License

Notifications You must be signed in to change notification settings

naturalis/biovel-R-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

biovel-R-client

An example client showing how to connect to biovel services from within R.

Here we show how a RESTful webservice can be invoked from within R, using the package RCurl.

This small example uses the NeXMLExtractor REST endpoint published in the Biodiversity catalogue to extract sequence data from a NeXML file. The data is returned in FASTA format, and a simple neighbor-joining tree is constructed from the data and subsequently plotted.

Prerequisites

An installation of R and the packages RCurl and phangorn.

Running it

From within R, execute the script 'client.R': source('client.R')

About

An example client showing how to connect to biovel services from within R

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages