Comments (8)
I'm jumping in here to help because I think @hms1664002057 that you can refer to "BIEN tutorial" (https://cran.r-project.org/web/packages/BIEN/vignettes/BIEN_tutorial.html) to see example of code using the BIEN package.
from rbien.
@Rekyt ,Thank you for your help, but "BIEN tutorial" (https://cran.r-project.org/web/packages/BIEN/vignettes/BIEN_tutorial.html) does not give code for matching multiple traits of the same species in the same site , and does not say whether it is possible to match based on the same ID (like the plant trait database does). Can we match traits based on the same species at the same site (longitude, latitude, altitude)?
from rbien.
I'm not sure to understand your use case.
I'm also not so familiar of extracting trait data from BIEN using spatial coordinates.
For sure, if you extract trait data using target species with BIEN::BIEN_trait_species()
you can always filtered based on unique latitude and unique longitude to get back the identity of the species.
But from what I know of BIEN, it doesn't seem possible to uniquely link different trait values down to the same individual.
You could link them to the same area (using the coordinates in the returned table), but never back at the individual scale.
from rbien.
@Rekyt ,Thank you for your valuable advice. Can we match the traits of the same plants in the same site (the same latitude, longitude and height) according to the code here?
Code link: https://github.com/MarconiS/Disentangling-the-role-of-phylogeny-and-climate-on-joint-leaf-trait-distributions-across-Eastern-Uni/blob/50f11f089be6e549930128caae54b295228e08e0/src/model_training/get_bien_data.R
from rbien.
Yes, that's exactly what I've told you. Using unique species names, unique latitude, longitude, and elevation. You should be able to match back species from the same site. However, this will only match at the species level locally because they are no identifier at the individual scale.
from rbien.
@Rekyt ,Thank you for your continued reply and help. I have learned a lot from your reply. We should keep communicating and learning, so as to explore more usage of BIEN package. Thank you.
from rbien.
Hi, @Rekyt. Have you used the data from the plant trait database (TRY)? Can we convert the long data form in the TRY to the wide data form and match the same species in the same location (latitude, longitude, altitude) based on the "ObservationID" column in the TRY? Do you have code or information on this? Thank you.
from rbien.
This is not related to BIEN and the use of RBIEN so I would suggest this conversation continues elsewhere then in this issue.
Regarding TRY structure you should look for specific code using TRY strucutre. Matching individual level traits maybe possible but you should check carefully.
from rbien.
Related Issues (20)
- Bulk download speed-up
- Clarify "ID" field in BIEN_traits_traits output
- Can't download plot data with specific sampling protocol HOT 4
- Consistency in species name
- Some species names are not capitalized HOT 4
- all "BIEN_taxonomy_*()" queries list class as "Equisetopsida" HOT 3
- vignette("BIEN") responds with vignette 'BIEN' not found HOT 1
- Feature Request: A trait table conversion between BIEN traits and TRY trait IDs HOT 5
- Error in an observation of whole plant vegetative phenology
- BIEN out of CRAN HOT 4
- BIEN_ranges_load_species fails with hardcoded proj4string
- Comparison BIEN4/GBIF
- Strange values for leaf dry mass
- One trait name is capitalized in database
- Species occurrence download from a list does not work HOT 3
- get the species list (spp) for a given genus
- Unable to complete queries HOT 4
- markdown formatting error in vignettes HOT 2
- There was a problem with the query... HOT 4
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 rbien.