ftolr

R package serving data for the Fern Tree of Life (FTOL)

https://github.com/fernphy/ftolr

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 6 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.4%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

R package serving data for the Fern Tree of Life (FTOL)

Basic Info
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • Open Issues: 1
  • Releases: 10
Created almost 4 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.Rmd

---
output: github_document
editor_options: 
  chunk_output_type: console
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# ftolr


[![DOI](https://zenodo.org/badge/475787005.svg)](https://zenodo.org/badge/latestdoi/475787005)


[ftolr](https://fernphy.github.io/ftolr/) is an R package that provides access to the [Fern Tree of Life (FTOL)](https://fernphy.github.io/) and related datasets.

These data were originally compiled using methods described in this paper:

- Nitta JH, Schuettpelz E, Ramírez-Barahona S, Iwasaki W. 2022. An open and continuously updated fern tree of life. *Frontiers in Plant Science* 13, https://doi.org/10.3389/fpls.2022.909768

## Installation

You can install ftolr from [GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("fernphy/ftolr")
```

## Examples

### Fern Tree of Life (FTOL)

The `ft_tree()` function loads FTOL into the current R session.
There are several options available to control branch lengths, presence or absence of outgroup, and sampling scheme.

```{r tree-example}
library(ftolr)
# Default: consensus tree with branchlengths in units of time
ft_tree()

# Maximum-likelihood (ML) tree with raw branchlengths and outgroup pruned
ft_tree(
  branch_len = "raw",
  consensus = FALSE,
  drop_og = TRUE
) 
```

### DNA sequences

The DNA sequences used to build the tree are also available.
These can be subset by locus (gene) name and can be formatted as a matrix (DNA alignment) or a list.

```{r seq-example}
# Default: aligned Sanger sequences
ft_seqs()

# Unaligned rbcL
ft_seqs(loci = "rbcL", aligned = FALSE)
```

### FTOL data version

You can check the current version of the [FTOL data](https://github.com/fernphy/ftol_data) included in `ftolr` with `ft_data_ver()`:

```{r data-ver}
ft_data_ver()
```

## Citing

If you use this package, please cite it!

Here is an example:

- FTOL working group. 2022. ftolr: Data for the Fern Tree of Life (FTOL) https://doi.org/10.5281/zenodo.6401660

The example DOI above is for the overall package.

Here is the latest DOI, which you should cite if you are using the
latest version of the package:

[![DOI](https://zenodo.org/badge/475787005.svg)](https://zenodo.org/badge/latestdoi/475787005)

Please also cite the paper describing how the data were generated:

- Nitta JH, Schuettpelz E, Ramírez-Barahona S, Iwasaki W. 2022. An open and continuously updated fern tree of life. *Frontiers in Plant Science* 13, https://doi.org/10.3389/fpls.2022.909768
  
## Licenses

- Code: [MIT](LICENSE)
- Data ([ftol.zip](data-raw/ftol.zip)): [CC0](https://creativecommons.org/publicdomain/zero/1.0/)

Owner

  • Name: fernphy
  • Login: fernphy
  • Kind: organization

FTOL Working Group

Citation (CITATION.cff)

cff-version: 1.1.0
authors:
- name: "FTOL working group"
title: "ftolr: Data for the Fern Tree of Life (FTOL)"
type: software
version: v1.7.0
date-released: 2024-10-30

GitHub Events

Total
  • Create event: 1
  • Issues event: 1
  • Release event: 1
  • Push event: 2
Last Year
  • Create event: 1
  • Issues event: 1
  • Release event: 1
  • Push event: 2

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • joelnitta (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

DESCRIPTION cran
  • R >= 2.10 depends
  • ape * imports
  • assertthat * imports
  • dplyr * suggests
  • patrick * suggests
  • readr * suggests
  • stringr * suggests
  • testthat >= 3.0.0 suggests
  • tibble * suggests
  • tidyverse * suggests
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action 4.1.4 composite
  • actions/checkout v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite