-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about the propr select
argument
#30
Comments
Hi Jemma, thanks for your interest in
|
Hi tpq, Thanks for your quick reply. I have been using propr on smaller datasets before, and the log-ratio values given by propr are exactly the same as what were given by log(x/exp(mean(log(x)))). However, I got totally different logratios this time with my current dataset. I attached one of my samples and its counts (they are not true counts, more like (but not real) relative abundances) in file "SRR_counts.csv". Using this sample as an example, the geometric mean is 0.06017464, and the logratio for the first sample "Root; d__Archaea" should be log(336.5/0.06017464) = 8.629102, whereas the logratio value calculated by propr for this sample was 11.56008. Wait... I guess I found the reason. Actually before I run perb(), I applied some selection to keep only the columns that are abundant in at least 2 samples. Then when I run |
Yes, that'd be it! |
select
argument
select
argumentselect
argument
Hi!
I am trying to use propr for a co-occurrence analysis. I noticed that the log-ratio values calculated by propr (data @logratio in the output) sometimes are quite different with that calculated by
log(x[i]/exp(mean(log(x)))) # where x is a list of counts
, as described in your paper. Could you please tell me which R function did you use to calculate the logratio? If I misunderstand about the formula, please let me know. Thank you in advance!The text was updated successfully, but these errors were encountered: