網(wǎng)站做淘客百度seo自然優(yōu)化
Package?taxlist?version 0.2.4
Description
分類法分類可以包含在taxonRelations插槽提供的信息中的 taxlist 對(duì)象中。然而,對(duì)于統(tǒng)計(jì)分析來(lái)說(shuō),將這些信息插入到插槽taxonTraits中可能更方便。
Usage
tax2traits(object, ...)## S3 method for class 'taxlist'
tax2traits(object, get_names = FALSE, ...)
Arguments
參數(shù)【object】:一個(gè) taxlist 對(duì)象。
參數(shù)【...】:在方法之間傳遞的進(jìn)一步參數(shù)。
參數(shù)【get_names】:指示是否應(yīng)該檢索分類單元名稱而不是分類單元id的邏輯值。
Details
此函數(shù)只能應(yīng)用于包含父子關(guān)系和分類級(jí)別信息的對(duì)象。
Value
類taxlist的對(duì)象,將分類法添加為特征。
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