When I started using differentialTest, I was struggling a bit to extract more information beyond the p-values that are exposed on the result object. I then looked at the code for plot.differentialTest, copied that, and modified it for my purposes. Specifically, I was looking for the differential abundance values and standard errors for all taxa.
I think it would be great to expose the code in plot.differentialTest that creates a data frame as its own function or to include more information on the result object directly.
The table I ended up with looks like the following:
| tax_id |
diff_abundance |
std_err |
p_value |
p_adjusted |
variable |
|
|
|
|
|
|
When I started using
differentialTest, I was struggling a bit to extract more information beyond the p-values that are exposed on the result object. I then looked at the code forplot.differentialTest, copied that, and modified it for my purposes. Specifically, I was looking for the differential abundance values and standard errors for all taxa.I think it would be great to expose the code in
plot.differentialTestthat creates a data frame as its own function or to include more information on the result object directly.The table I ended up with looks like the following: