Giter VIP home page Giter VIP logo

Comments (5)

josephwb avatar josephwb commented on August 14, 2024

OT does have a limit on the number of tips, but this is 25K or 100K (depending on the format). I just successfully got an induced tree of 357 hummingbirds. So maybe something went wrong when you concatenated the ids?

from rotl.

akahrl avatar akahrl commented on August 14, 2024

Huh, the function 'tol_induced_subtree' seems to be working now (though I need to move through ott ids that aren't found).

Any idea why the function 'tnrs_match_names' doesn't work? I don't mind taking some extra steps to make a larger dataframe, but it would be nice to have the function run in one go.

Thanks for the help!

from rotl.

josephwb avatar josephwb commented on August 14, 2024

Yeah, that is a hard limit for the TNRS fuzzy matching. I'm afraid I am not aware of how to get around it (i.e., by turning off the fuzzy match).

from rotl.

kavyaaswadhati avatar kavyaaswadhati commented on August 14, 2024

@akahrl Did you change anything in your script to get the 'top_induced_subtree' function to work? I am running up against the same issue where I call the 'tnrs_match_names' function in batches and the resultant data frame is the appropriate length, but the induced tree built off of it still only contains the first 250 species.

from rotl.

akahrl avatar akahrl commented on August 14, 2024

So sorry for the super late reply (parental leave). As josephwb pointed out, there is a limit to the TNRS fuzzy matching. I changed my code to this:

taxa <- tnrs_match_names(unique(data[1:4176, 1]), context="Animals", do_approximate_matching=FALSE)

And it solved the problem.

from rotl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.