当前位置: 首页 > news >正文

R语言【taxlist】——tax2traits():将分类信息设置为分类单元特征

Package taxlist version 0.2.4


Description

分类法分类可以包含在taxonRelations插槽提供的信息中的 taxlist 对象中。然而,对于统计分析来说,将这些信息插入到插槽taxonTraits中可能更方便。

Usage

tax2traits(object, ...)## S3 method for class 'taxlist'
tax2traits(object, get_names = FALSE, ...)

Arguments

参数【object】:一个 taxlist 对象。

参数【...】:在方法之间传递的进一步参数。

参数【get_names】:指示是否应该检索分类单元名称而不是分类单元id的逻辑值。


Details

此函数只能应用于包含父子关系和分类级别信息的对象。


Value

类taxlist的对象,将分类法添加为特征。


Examples

Acanthaceae <- subset(x = Easplist, subset = TaxonName == "Acanthaceae",slot = "names", keep_children = TRUE)
summary(Acanthaceae)
object size: 29.9 Kb 
validation of 'taxlist' object: TRUE number of taxon usage names: 143 
number of taxon concepts: 113 
trait entries: 9 
number of trait variables: 1 
taxon views: 3 concepts with parents: 112 
concepts with children: 28 hierarchical levels: form < variety < subspecies < species < complex < genus < family 
number of concepts in level form: 0
number of concepts in level variety: 2
number of concepts in level subspecies: 3
number of concepts in level species: 84
number of concepts in level complex: 0
number of concepts in level genus: 23
number of concepts in level family: 1
Acanthaceae <- tax2traits(Acanthaceae, get_names = TRUE)
head(taxon_traits(Acanthaceae))
    TaxonConceptID       life_form variety subspecies               species      genus
14              59 obligate_annual    <NA>       <NA>   Asystasia gangetica  Asystasia
15              60 obligate_annual    <NA>       <NA>  Asystasia mysurensis  Asystasia
97             319 obligate_annual    <NA>       <NA> Hygrophila auriculata Hygrophila
108            341    phanerophyte    <NA>       <NA>     Justicia betonica   Justicia
238          50264  climbing_plant    <NA>       <NA>      Thunbergia alata Thunbergia
241          50423    phanerophyte    <NA>       <NA>    Hypoestes aristata  Hypoestesfamily
14  Acanthaceae
15  Acanthaceae
97  Acanthaceae
108 Acanthaceae
238 Acanthaceae
241 Acanthaceae
http://www.lryc.cn/news/290959.html

相关文章:

  • CTF-WEB的知识体系
  • 【Spring框架】@Cacheable注解:缓存最佳实践
  • iZotope RX 10.4.2 mac激活版 音频修复和增强工具
  • vue核心知识点
  • 【乳腺肿瘤诊断分类及预测】基于Elman神经网络
  • 【kubernets】由Evicted状态的Pod探讨k8s中pod的驱逐策略
  • vxe-table3.0的表格树如何做深层查找,返回搜索关键字的树形结构
  • 幻兽帕鲁越玩越卡,内存溢出问题如何解决?
  • C++_list
  • 使用docker部署mongodb
  • C#,打印漂亮的贝尔三角形(Bell Triangle)的源程序
  • 开源电商系统
  • 责任链模式在java中的实现
  • 粤嵌Gec6818---小项目功能实现简单步骤(RFID+图片显示+音乐+视频)
  • opencv学习 特征提取
  • 关于maven项目构建的解释
  • IMU/捷联惯导常见的术语,以及性能评价标准(附Python解析代码)
  • Debezium发布历史98
  • APUE学习之进程间通信(IPC)(下篇)
  • 【Java 设计模式】行为型之中介者模式
  • MySql 慢SQL配置,查询,处理
  • 算法:分界线
  • STM32单片机基本原理与应用(四)
  • elk之安装和简单配置
  • springboot(ssm环保网站 绿色环保宣传系统Java系统
  • 【MBtiles数据索引和服务发布】GeoServer改造Springboot番外系列二
  • Redis抓取数据到Logstash再推到Elasticsearch集群
  • 【代码随想录-链表】反转链表
  • 32GPIO输入LED闪烁蜂鸣器
  • Qt|QPushButton控件讲解