Coder Social home page Coder Social logo

Comments (3)

ggloor avatar ggloor commented on June 30, 2024

You are correct, I should have plotted perb.rare@matrix instead. Thank you for pointing out the error. I have updated the figure and the code. Note that, in reference to you second point, that the E(rho) for 11 vs 37246 is now even lower.

The point estimate includes much more random noise than does the expected value. Thus, the E(rho) value is more robust. One way to think about it is that the E(rho) is the value that you would observe if you could have averaged the values across multiple technical replicates. When collecting associations, the investigator is interested in those that are not affected by random sampling, but that would have been observed upon replication

from frontiers_2017.

ggloor avatar ggloor commented on June 30, 2024

from frontiers_2017.

erfanshek avatar erfanshek commented on June 30, 2024

Hi Erfan Could you supply your R script as well? I do not understand where the issue is thanks Greg Gloor, PhD Professor and Chair, Department of Biochemistry Schulich School of Medicine & Dentistry University of Western Ontario email: @.*** twitter: @gbgloor

On Oct 11, 2021, at 3:19 AM, erfanshek @.***> wrote: Dear Professor Gloor, Thank you for your review and clarifying the statistical dimension of Amplicon analysis. Although I'm following through with most concepts, when it comes to the adaptation of the R code, I'm having some problems. Simply running the R code with the sample data does not result in reproducible graphs. There are many errors that I've encountered throughout. I'm presuming that this is due to the updated arrangements of R and the affiliated packages. I would love to implement the novel approaches mentioned in your review paper in my new research paper, however, I'm finding it quite challenging to implement since the code will not even work for your provided dataset, let alone my input that might be slightly different. The ALDEx2 graphs seem to be working just fine and are reproducible when it comes to the Review Paper. However, problems arise when • Running f.t <- aldex.ttest(f.x, conds) • Doing PCA Plots. Would very much appreciate if an updated R script could be implemented for the newest versions of R. • I've attached my RStudio console errors, objects, and graphs(https://drive.google.com/drive/folders/1Ugl3v9XP0p5AhdTgoSprcXIMbsOPDFzu?usp=sharing) My versions are: • R 4.1.1 • RStudio 1.4.1717 • ALDEx2 1.24.0 • car 3.0-11 carData 3.0-4 • CoDaSeq 0.99.6 • zCompositions 1.3.4 • igraph 1.2.6 • grDevices 4.1.1 • propr 4.2.6 • vegan 2.5-7 Best, Erfan — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

Dear Prof. Gloor,

I've supplied my R script to the link above as well. In the aldex.ttest(f.x, conds), the code will give the following error:

Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'which': object 'f.t' not found

Therefore, I've added an argument paired.test = FALSE to solve the problem temporarily. When running the data for the sample PCA plots, I only see 3 points represented. I went over the different tables and saw that in the code line...

E.clr <- t(apply(exp, 2, function(x) log2(x) - mean(log2(x)) ))

... all values turn into 0 counts, which might be cause of the problem. Still not sure because the applied formula is correct. Overall running the unmodified code itself from the review paper is not reproducing the PCA biplots and plots, so I'm unsure of the correct input format I must have for my own personalized data.

Thank you for your prompt response and if you have anymore questions feel free to ask.

Best,

Erfan

from frontiers_2017.

Related Issues (2)

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.