abhorrentPantheon / metabolomics

initial commit
1 stars 0 forks source link

FoldChange #1

Open emmapead opened 8 years ago

emmapead commented 8 years ago

The function FoldChange is not recognised when used. I've tried

FoldChange(cd271LogTData, paired = FALSE, plot.hist = TRUE)

abhorrentPantheon commented 8 years ago

Hi there,

I haven't worked on this for three years, but I'm happy to help out if I can.

Have you checked the documentation for these functions? Is your data in the right format? Could you send me the error message?

Cheers,

j On 25 May 2016 23:49, "emmapead" notifications@github.com wrote:

The function FoldChange is not recognised when used. I've tried

FoldChange(cd271LogTData, paired = FALSE, plot.hist = TRUE)

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/abhorrentPantheon/metabolomics/issues/1

emmapead commented 8 years ago

Thanks very much!

The error message is:

Error: could not find function "FoldChange"

My data has the sample groups in the first columns and the metabolite Log transformed peak intensity in the subsequent columns. I figure that if it was the data then that would be the error message, but its not recognizing the function in the first instance. I've installed the package and attached the library. I've used LogTransform function which is working so is just this one in particular. Any ideas?

abhorrentPantheon commented 8 years ago

Hi there,

That sounds like the right format; the error message suggests that the library isn't actually there, which seems weird. Did you use

library(metabolomics) to install? Did you install the metabolomics package from CRAN, or from GitHub?

If you just want to use each function independently, you can copy the code and use them that way. You can download all of the scripts from the R folder in github (the license should all be CC-BY-SA, or github's equivalent, so feel free to use it). You can then tailor the scripts if you need to, as well.

Let me know if any of that helps - as I said, I haven't worked in R for a number of years! If it doesn't, I'll have a proper crack at getting it to run, but I'm not sure how exactly you're using the functions at the moment.

Cheers,

jairus.

On 26 May 2016 at 19:21, emmapead notifications@github.com wrote:

Thanks very much!

The error message is:

Error: could not find function "FoldChange"

My data has the sample groups in the first columns and the metabolite Log transformed peak intensity in the subsequent columns. I figure that if it was the data then that would be the error message, but its not recognizing the function in the first instance. I've installed the package and attached the library. I've used LogTransform function which is working so is just this one in particular. Any ideas?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/abhorrentPantheon/metabolomics/issues/1#issuecomment-221820699

jocelyn2015 commented 7 years ago

I have met the same problem....

abhorrentPantheon commented 7 years ago

Did you try the above? You can import the function directly by copying the R script in the folder (here), if that didn't work.