Giter Site home page Giter Site logo

Comments (10)

mavino avatar mavino commented on August 19, 2024 1

no worries, it is actually our pleasure to be useful for you!!
I would say yes to both of the questions. Your rationale is correct and there is the way I would use the distances.
Be careful about the way the software for kLn match labels of host and parasites.

from kaphi.

ArtPoon avatar ArtPoon commented on August 19, 2024

Hi @Jigyasa3, sorry for the delayed response - it's a busy term. I am going to ping the lead author @mavino who should be able to help you with the R code and data files.

from kaphi.

mavino avatar mavino commented on August 19, 2024

Thank you @ArtPoon,
Hi @Jigyasa3 and thank you so much for your interest.
Give me some time to answer point by point to your answer since I have not been working on this project for a long time.
I will soon start replying to your answer.
Thank you very much again...

from kaphi.

mavino avatar mavino commented on August 19, 2024

Regarding to your point a), there was a problem in the code I just fixed mavino/cophylo@3409bab6
The "Group" refers the last column of file "TotalandKernelfig7.csv" which tells you if that host-parasite pair is at high or low cophylogeny. This will be coloured in the resulting biplot.

from kaphi.

mavino avatar mavino commented on August 19, 2024

Regarding to your point b), we needed to make comparable the different distances because they have different scales, some distances have values between 0 and 1, some from 0 to plus infinity. Thus we performed a min-max normalization to put them on a same scale. Not sure why we did not use a Z-score normalization, maybe we noticed we did not have many outliers.

from kaphi.

mavino avatar mavino commented on August 19, 2024

Regarding to your point c), yes they are raw data and then eventually normalized with min-max function

from kaphi.

mavino avatar mavino commented on August 19, 2024

Regarding to your point d), as it is specified in the paper, high and low degree of cophylogeny was just based on authors’ assessment specific to the paper it refers. We did not specify any further cut-off.

from kaphi.

Jigyasa3 avatar Jigyasa3 commented on August 19, 2024

Hey @mavino

Thank you so much for replying and answering all my questions. I have two follow-up questions. I do not come from a statistical background, so it's possible that my understanding of the kernel method discussed in the paper is wrong. So please correct me (sorry!).

Question 1- It is mentioned in the paper that the kernel method accounts for differences in branch lengths of the host and symbiont (or parasite), and the number of nodes in the tree. Does that mean that I can compare (as in point (c) above) host-symbiont trees of different sizes (nodes) and rate of evolution with each other and draw conclusions about how much co-evolution is taking place (in kLn method)?

Question2- To examine how much coevolution is taking place, I am interested in comparing different microbial groups against the same host tree and instead of grouping them as parasitic, symbiotic or mutualistic (as done in the papers referred to in your study), I want to examine if one microbe-host tree is more coevolving than the other. So, if I use the normalized values of different distance measures, can I say that a higher value of kLn and Align means the microbe1-host tree is more co-evolving than the microbe2-host tree?

The host tree is the same for all the microbes but the no. of nodes will vary depending on how microbe-host interacts.
Please let me know if my questions make sense I can explain them in more detail.

Thanks again for all the help!

from kaphi.

Jigyasa3 avatar Jigyasa3 commented on August 19, 2024

Thank you so much!

from kaphi.

Jigyasa3 avatar Jigyasa3 commented on August 19, 2024

One last query- I understand that different distance methods have different requirements for the tree type. Align() documentation says phylo object is required while TripL() documentation requires both the trees to be rooted. Just want to confirm, Align(), MAST(), and Sim() do not require the symbiont tree to be rooted right?

from kaphi.

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.