GithubHelp home page GithubHelp logo

ojwatson / timetrees Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hackout3/timetrees

0.0 3.0 0.0 21 KB

A collection of time-stamped pathogen phylogenies

License: Creative Commons Zero v1.0 Universal

R 100.00%

timetrees's Introduction

Travis-CI Build Status

timetrees: a collection of time-stamped phylogenies

This package compiles a series of time-stamped phylogenies, to be shared during Hackout 3. Data can be provided as R objects (loaded automatically when loading the package), text files distributed alongside the package (e.g. Newick strings), or functions generating a dataset.

The following R datasets are currently available:

data(package="timetrees")
Item Title
zika.2015 Zika virus, 2015-2016

Installing the package

To install the devel version of the package, type:

devtools::install_github("Hackout3/timetrees")

Note that this requires the package devtools installed.

Add your own data!

How to add data?

We will try to create a better repository and data submission system at a later stage. The purpose of the current package is only to share examplar datasets during the hackathon. Acceptable forms are:

  • as a .RData files in the data/ folder (recommended)
  • as a text file in the inst/ folder (e.g. as a Newick string)
  • as a function loading/assembling/simulating a dataset

Naming Conventions

We use the lower cases and dots to separate words for the files and dataset names, so that for a RData object, a new dataset woud look like: `my.new.data.RData'. Try using informative names, typically using the disease first. Whenever available, order fields as:

  1. disease: mandatory
  2. location: optional
  3. year: optional
  4. sim: mandatory if this is a simulated dataset; otherwise data is assume to be an actual outbreak
  5. other: (any other relevant information)

Datasets are in the form of a list with three elements:

  1. tree: phylogeny in phylo format
  2. data: metadata as a dataframe, comprising of the tip labels in the tree (tiplabel) and sampling times (year, month and date as separate columns), plus any additional information.
  3. aln: a multiple sequence alignment in DNAbin matrix format.

Contributors (by alphabetic order):

  • Simon Frost (@sdwfrost)
  • Thibaut Jombart (@thibautjombart)

Maintainer (temporary): Simon Frost ([email protected])

timetrees's People

Contributors

sdwfrost avatar

Watchers

James Cloos avatar OJ Watson avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.