Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow tree grafting when n_overlap = 1 #61

Open
LunaSare opened this issue Sep 26, 2018 · 0 comments
Open

allow tree grafting when n_overlap = 1 #61

LunaSare opened this issue Sep 26, 2018 · 0 comments

Comments

@LunaSare
Copy link
Member

taxa <- c("Chamaeleo Trioceros chapini", "Plectrurus canaricus", "Triticum pungens", "Microscalabotes", "Podallea madegassica", "Boarmia lunifera", "Bittium", "Lepidisis", "Puzosia rosarica", "Trechus ehlersi", "Psychotria griffithii", "Mulgedium spicatum", "Cyanopica", "Callicarpa heynii", "Exogyra robusta", "Schizomidae", "Fimbristylis scabra", "Phagnalon caroli", "Parmotrema pseudovirens", "Phortioecoides")
query <- make_datelife_query(input = taxa, get_spp_from_taxon = TRUE)
res <- get_datelife_result(input = query)

res contains 3 matrices, which overlap only by one taxon.
res has two groves: the one with more taxa has one matrix only, the nest one has less taxa but has two trees.
the grove with less taxa could be summarized with sdm or median, then grafted into the corresponding branch on the grove with more taxa.

This is a very simple example, but we could expand it to more complicated grove cases in order to get the most complete summary chronogram on each data set

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant