https://github.com/daijiang/new_phytologist_appendix
R scripts for Dune Meadows data set analyses
Science Score: 49.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 1 DOI reference(s) in README -
○Academic publication links
-
✓Committers with academic emails
1 of 2 committers (50.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.3%) to scientific vocabulary
Repository
R scripts for Dune Meadows data set analyses
Basic Info
- Host: GitHub
- Owner: daijiang
- Language: R
- Default Branch: master
- Size: 28.3 KB
Statistics
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
NewPhytologistAppendix
R scripts for Dune Meadows data set analyses
This R code cleans data, builds a phylogeny, and then conducts all analyses for the Dune Meadows dataset. The code comes with no guarantees and was tested in R v.3.2.3. Questions about the code can be send to Daijiang Li (daijianglee@gmail.com).
Please cite the paper if you use the code elsewhere.
Li, D., Ives, A. R. and Waller, D. M. (2017), Can functional traits account for phylogenetic signal in community composition?. New Phytol. 214:607-618. doi:10.1111/nph.14397
data_clean/ includes functional traits data; other data can be loaded from R package vegan.
Rcode/:
0_pkg_func.R: packages and functions used.1-data.R: read and clean data.2-forward_selection.R: use forward selection to select functional traits to be included in the final model. So we can test how much of phylogenetic variation can be explained by measured functional traits. It first selected traits as fixed terms based on AIC. Then selected traits as both fixed terms and random terms (i.e. whenever select a trait as random term, its fixed term was included also). These two steps do not have phylogenetic random terms. After then, phylogenetic random terms were added. Finally, addition traits were tested to check whether they can reduce the residual phylogenetic patterns more.3-phylosig.R: to test phylogenetic signal of functional traits. And to test whether species trait-abundance relationships varied from site to site.analyses.R: detect phylogenetic patterns (attraction/repulsion); calculate % of phylogenetic variation explained by traits (refer to 2-forward_selection.R); and all other analyses used in the paper.
issues
- The original files in the journal website miss some part of the code (mostly creating data objects), which has been added at the end of the
1-data.Rfile.
Owner
- Name: Daijiang Li
- Login: daijiang
- Kind: user
- Location: Baton Rouge, LA
- Website: https://www.dlilab.com
- Repositories: 81
- Profile: https://github.com/daijiang
GitHub Events
Total
Last Year
Committers
Last synced: 10 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Daijiang Li | d****1@u****u | 7 |
| daijiang | d****e@g****m | 2 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 8 months ago
All Time
- Total issues: 1
- Total pull requests: 0
- Average time to close issues: 28 minutes
- Average time to close pull requests: N/A
- Total issue authors: 1
- Total pull request authors: 0
- Average comments per issue: 4.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- nicolaycunha (1)