five

Supplement 1. Three input files and an r script.

收藏
Mendeley Data2024-06-29 更新2024-06-28 收录
下载链接:
https://wiley.figshare.com/articles/dataset/Supplement_1_Three_input_files_and_an_r_script_/3513017/1
下载链接
链接失效反馈
官方服务:
资源简介:
File List sang_sp.txt sang_en.txt sang_tr.txt RLQ_script_Danny.r Description Three input files are provided that contain the species-by-sites data matrix (sang_sp.txt), sites-by-environment data matrix (sang_en.txt) and species-by-traits data matrix (sang_tr.txt). Also included is an r script (RLQ_script_Danny). The script is in Tinn-R so this program will need to be downloaded first. It is freely available at http://www.sciviews.org/Tinn-R/index.html (checked 2 Nov 2006). Copy and paste the script into R for results. For the main results presented in the paper copy the script up to and including ‘randtest.rlq(rlqout)’. The final two lines present box plots to show the variation in trait categories along the RLQ axes. ‘sco.boxplot(rlqout$mQ[,1],Qqual)’ gives a boxplots for the first axis, ‘sco.boxplot(rlqout$mQ[,2],Qqual)’ for the second axis etc.

文件列表:sang_sp.txt、sang_en.txt、sang_tr.txt、RLQ_script_Danny.r 数据集说明:本次提供三个输入文件,分别为物种-样点数据矩阵(species-by-sites data matrix)文件sang_sp.txt、样点-环境因子数据矩阵(sites-by-environment data matrix)文件sang_en.txt,以及物种-性状数据矩阵(species-by-traits data matrix)文件sang_tr.txt;同时附带一份R脚本RLQ_script_Danny.r。该脚本基于Tinn-R编写,因此需先下载安装该程序,其免费获取地址为http://www.sciviews.org/Tinn-R/index.html,该链接已于2006年11月2日完成有效性校验。使用时可将脚本复制粘贴至R运行环境中执行。若需复现论文中展示的核心结果,需运行至`randtest.rlq(rlqout)`语句为止。脚本最后两行用于生成箱线图,以展示性状类别沿RLQ轴的变异情况:其中`sco.boxplot(rlqout$mQ[,1],Qqual)`用于生成第一轴的箱线图,`sco.boxplot(rlqout$mQ[,2],Qqual)`用于生成第二轴的箱线图,其余轴次可依此类推。
创建时间:
2023-06-28
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作