Comments (1)
I thin I have it working:
> ex_taxmap$get_data()
$taxon_names
1 2 3 4 5 6 7 8 9
"Mammalia" "Plantae" "Felidae" "Notoryctidae" "Hominidae" "Solanaceae" "Panthera" "Felis" "Notoryctes"
10 11 12 13 14 15 16 17
"homo" "Solanum" "tigris" "catus" "typhlops" "sapiens" "lycopersicum" "tuberosum"
$taxon_ids
[1] "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17"
$taxon_indexes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
$n_supertaxa
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
0 0 1 1 1 1 2 2 2 2 2 3 3 3 3 3 3
$n_subtaxa
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
11 4 4 2 2 3 1 1 1 1 2 0 0 0 0 0 0
$n_subtaxa_1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
3 1 2 1 1 1 1 1 1 1 2 0 0 0 0 0 0
$taxon_ranks
1 2 3 4 5 6 7 8 9 10 11 12 13
"class" "kingdom" "family" "family" "family" "family" "genus" "genus" "genus" "genus" "genus" "species" "species"
14 15 16 17
"species" "species" "species" "species"
$is_root
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
$is_stem
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
TRUE TRUE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE
$is_branch
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
FALSE FALSE TRUE TRUE TRUE FALSE TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
$is_leaf
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE TRUE TRUE TRUE TRUE TRUE
$name
12 13 14 15 16 17
tiger cat mole human tomato potato
Levels: cat human mole potato tiger tomato
$n_legs
12 13 14 15 16 17
4 4 4 2 0 0
$dangerous
12 13 14 15 16 17
TRUE FALSE FALSE TRUE FALSE FALSE
$phylopic_ids
12 13 14
"e148eabb-f138-43c6-b1e4-5cda2180485a" "12899ba0-9923-4feb-a7f9-758c3c7d5e13" "11b783d5-af1c-4f4e-8ab5-a51470652b47"
15 16 17
"9fae30cd-fb59-4a81-a39c-e1826a35f612" "b6400f39-345a-4711-ab4f-92fd4e22cb1a" "63604565-0406-460b-8cb8-1abe954b3f3a"
$foods
$foods$`12`
[1] "mammals" "birds"
$foods$`13`
[1] "cat food" "mice"
$foods$`14`
[1] "insects"
$foods$`15`
[1] "Most things, but especially anything rare or expensive"
$foods$`16`
[1] "light" "dirt"
$foods$`17`
[1] "light" "dirt"
$reaction
[1] "Watch out! That tiger might attack!" "No worries; its just a cat." "No worries; its just a mole."
[4] "Watch out! That human might attack!" "No worries; its just a tomato." "No worries; its just a potato."
from taxa.
Related Issues (20)
- taxonomy_table function issue with add_id_column parameter. HOT 1
- Support matrix data type in parsers and subsetting functions
- news HOT 1
- Print method idea: tidy lists
- Is a `head` function needed for `taxmap`? HOT 2
- `taxa`: way to do operations on objects within it HOT 4
- Vectorizing some classes and reorganizing inheritance hierarchy HOT 49
- possible to put taxize in Suggests? HOT 2
- Assign taxon_rank based on n_supertaxa HOT 1
- Function to produce html/latex table of taxonomic and associated data ? HOT 3
- use cases section a bit outdated HOT 4
- HTTP errors when parsing long taxon_id list HOT 12
- No taxon_rank information when parsing from NCBI taxonomy HOT 1
- import of taxdump files HOT 3
- Error: Failed to install 'taxa' from GitHub HOT 1
- error in db_ref$get() after using $set() HOT 2
- creating a taxonomy database for PR2 HOT 10
- Error when using parse_tax_data function HOT 1
- Issues with CRAN check on 2022-03-10 HOT 1
- vctrs revdep issues HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taxa.