22<!-- badges: start -->
33
44[ ![ R-CMD-check] ( https://github.com/ropensci/rotl/actions/workflows/R-CMD-check.yaml/badge.svg )] ( https://github.com/ropensci/rotl/actions/workflows/R-CMD-check.yaml )
5- [ ![ codecov.io] ( https://app.codecov.io/github/ropensci/rotl?branch=master )] ( https://app.codecov.io/github/ropensci/rotl?branch=master )
65[ ![ ] ( https://www.r-pkg.org/badges/version/rotl )] ( https://www.r-pkg.org/pkg/rotl )
76[ ![ CRAN RStudio mirror
87downloads] ( https://cranlogs.r-pkg.org/badges/rotl )] ( https://www.r-pkg.org/pkg/rotl )
98[ ![ ] ( https://badges.ropensci.org/17_status.svg )] ( https://github.com/ropensci/software-review/issues/17 )
109[ ![ Project Status: Active – The project has reached a stable, usable
1110state and is being actively
1211developed.] ( https://www.repostatus.org/badges/latest/active.svg )] ( https://www.repostatus.org/#active )
12+ [ ![ Codecov test
13+ coverage] ( https://codecov.io/gh/ropensci/rotl/graph/badge.svg )] ( https://app.codecov.io/gh/ropensci/rotl )
1314<!-- badges: end -->
1415
1516# rotl: An R interface to Open Tree API <img src =" man/figures/logo.svg " align =" right " />
@@ -48,17 +49,17 @@ remotes::install_github("ropensci/rotl")
4849
4950There are three vignettes:
5051
51- - Start by checking out the “How to use ` rotl ` ?” by typing:
52- ` vignette("rotl", package="rotl") ` after installing the package.
52+ - Start by checking out the “How to use ` rotl ` ?” by typing:
53+ ` vignette("rotl", package="rotl") ` after installing the package.
5354
54- - Then explore how you can use ` rotl ` with other packages to combine
55- your data with trees from the Open Tree of Life project by typing:
56- ` vignette("data_mashups", package="rotl") ` .
55+ - Then explore how you can use ` rotl ` with other packages to combine
56+ your data with trees from the Open Tree of Life project by typing:
57+ ` vignette("data_mashups", package="rotl") ` .
5758
58- - The vignette “Using the Open Tree Synthesis in a comparative
59- analysis” demonstrates how you can reproduce an analysis of a
60- published paper by downloading the tree they used, and data from the
61- supplementary material: ` vignette("meta-analysis", package="rotl") ` .
59+ - The vignette “Using the Open Tree Synthesis in a comparative analysis”
60+ demonstrates how you can reproduce an analysis of a published paper by
61+ downloading the tree they used, and data from the supplementary
62+ material: ` vignette("meta-analysis", package="rotl") ` .
6263
6364The vignettes are also available from CRAN: [ How to use
6465` rotl ` ?] ( https://cran.r-project.org/package=rotl/vignettes/rotl.html ) ,
@@ -88,12 +89,12 @@ apes <- c("Pongo", "Pan", "Gorilla", "Hoolock", "Homo")
8889 ## 3 gorilla Gorilla FALSE 1 417969 FALSE
8990 ## 4 hoolock Hoolock FALSE 1 712902 FALSE
9091 ## 5 homo Homo FALSE 1 770309 FALSE
91- ## flags number_matches
92- ## 1 2
93- ## 2 sibling_higher 2
94- ## 3 sibling_higher 1
95- ## 4 1
96- ## 5 sibling_higher 1
92+ ## flags number_matches
93+ ## 1 2
94+ ## 2 sibling_higher 2
95+ ## 3 sibling_higher 1
96+ ## 4 1
97+ ## 5 extinct_inherited, sibling_higher 1
9798
9899Now we can get the tree with just those tips:
99100
@@ -111,7 +112,7 @@ tr <- tol_induced_subtree(ott_ids = ott_id(resolved_names))
111112plot(tr )
112113```
113114
114- ![ ] ( https://i.imgur.com/0tnzsFv .png ) <!-- -->
115+ ![ ] ( https://i.imgur.com/m9pusZk .png ) <!-- -->
115116
116117The code above can be summarized in a single pipe:
117118
@@ -131,7 +132,7 @@ c("Pongo", "Pan", "Gorilla", "Hoolock", "Homo") %>%
131132 ## mrcaott83926ott3607689, mrcaott83926ott3607732, mrcaott770295ott3607719,
132133 ## mrcaott770295ott3607692, Ponginae ott1082538, Hylobatidae ott166544
133134
134- ![ ] ( https://i.imgur.com/ww5PZ6B .png ) <!-- -->
135+ ![ ] ( https://i.imgur.com/6o95mvV .png ) <!-- -->
135136
136137## Citation and Manuscript
137138
0 commit comments