Code Monkey home page Code Monkey logo

Comments (11)

DaliangNing avatar DaliangNing commented on August 15, 2024 1

@xuyangr You can download the latest version of iCAMP from https://github.com/DaliangNing/iCAMP1/tree/master/RPackage/AllVersions.

Sorry, I do not fully understand your question. I guess you have 'relative abundance' data where the sum of each sample is 100%. If so, you may set dirichlet=TRUE in icamp.big, see step 9.5 in example R code https://github.com/DaliangNing/iCAMP1/blob/master/Examples/SimpleOTU/icamp.test.r.
If you mean you are not able to install iCAMP recent versions with the ability to handle relative abundance data, you can try to transform the community data to "count" data table, e.g., dividing the whole matrix by the minimum positive number in the matrix, then round to integers.

from icamp1.

DaliangNing avatar DaliangNing commented on August 15, 2024

This error was usually because there was only one treatment, but 'between.group=TRUE'. Please check your 'treat' table; if there is only one group (treatment), please set between.group=FALSE; if there is multiple groups (treatments), please send me ([email protected]) icres, treat, clas (save them as rda files) to debug.

from icamp1.

makerer5 avatar makerer5 commented on August 15, 2024

@DaliangNing Hello professor,I had the same error and I saw the solution you gave was: set between.group=FALSE. I followed the tutorial on IEG3 and I don't know how to set "set between.group=FALSE".

from icamp1.

DaliangNing avatar DaliangNing commented on August 15, 2024

@makerer5 In the function 'iCAMP' on our web-based pipeline (http://ieg3.rccc.ou.edu:8080/), the option 'Summarize for between-group turnovers?' is about 'between.group', and the default setting is 'No' which means 'between.group=FALSE'. If you used default setting, your error is probably not due to 'between.group' setting. You may let me know your username on the pipeline to debug, or explore R package version.

from icamp1.

makerer5 avatar makerer5 commented on August 15, 2024

@DaliangNing Hello professor,My username in IEG3 is '' [email protected]'', and my working environment is ''fungi''. I am also trying to use R code to explore the results when treatment is a group

from icamp1.

DaliangNing avatar DaliangNing commented on August 15, 2024

@makerer5 the problem is solved. You may check the latest result files in your galaxy pipeline history 'fungi'.

from icamp1.

DaliangNing avatar DaliangNing commented on August 15, 2024

The error on Galaxy pipeline can happen when all samples are belong to the same group. I have revised the backend script to consider this kind of special cases.

Similarly, when using the function icamp.boot in R package, if there is only one group, you need to set compare as FALSE; otherwise, the function will only return similar error.

from icamp1.

makerer5 avatar makerer5 commented on August 15, 2024

from icamp1.

DaliangNing avatar DaliangNing commented on August 15, 2024

@Panda-smile sorry for my late response. Your error is caused by 'treat'.
iCAMP is based on beta diversity (pairwise dissimilarity between samples), thus each group must have at least 2 samples to provide between-sample beta diversity. Actually, a group had better include 6 or more samples to get relatively reliable null model estimations. But your 'treat' table (below) has multiple groups that only have a single sample.

treat
Management Location
FQ1 FQ1 Qu
FQ2 FQ2 Qu
CP CP Qu
SC SC Qu
DJ DJ Fermentation

from icamp1.

xuyangr avatar xuyangr commented on August 15, 2024

dear professor, I am having problems running icamp because my version of icamp is too low, but input is a abundance file so it is less than 1. In the case of not updating the version, I would like to know whether it is possible to directly expand the abundance data by 100,000 times as the input file, so that the results of the calculation will be affected? Looking forward to your reply
.

from icamp1.

kelly-xia avatar kelly-xia commented on August 15, 2024

Dear Professor:
I encountered the following issues when conducting diversity analysis of iCAMP on Galaxy. I am not sure where the problem lies. Could you show and help me figure it out? My account is [email protected]. I am looking forward to your reply. Thank you so much.

Fatal error: Exit code 1 ()
Now computing path. begin at Sat May 11 22:04:08 2024. Please wait...
Error in checkForRemoteErrors(val) :
2 nodes produced errors; first error: subscript out of bounds
Calls: ... clusterApply -> staticClusterAp

Your Sincerely
Kerry

@xuyangr You can download the latest version of iCAMP from https://github.com/DaliangNing/iCAMP1/tree/master/RPackage/AllVersions.

Sorry, I do not fully understand your question. I guess you have 'relative abundance' data where the sum of each sample is 100%. If so, you may set dirichlet=TRUE in icamp.big, see step 9.5 in example R code https://github.com/DaliangNing/iCAMP1/blob/master/Examples/SimpleOTU/icamp.test.r. If you mean you are not able to install iCAMP recent versions with the ability to handle relative abundance data, you can try to transform the community data to "count" data table, e.g., dividing the whole matrix by the minimum positive number in the matrix, then round to integers.

from icamp1.

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.