corncob icon indicating copy to clipboard operation
corncob copied to clipboard

plot options

Open jorondo1 opened this issue 2 years ago • 3 comments

Hi! I've been playing around with corncob and I can't figure out how to properly format the plots. The plot() function somehow stitches together all taxonomic levels from the taxonomy. Can we prevent it from doing that? Rplot My ps object is not formatted this way (row.names are species only) so I don't understand that it would stitch all the info from the tax_table columns like that since I already have unique row identifiers.

Also, is there a way to feed the differentialTest output in ggplot to make them more flexible? I'm far from being an R expert so the answer to this might be obvious, but if you have examples to point me to I'd be very thankful.

Cheers !

jorondo1 avatar Oct 07 '22 12:10 jorondo1

Hi again. After searching through the source codes I realised there was more than just the plot() function.

I would suggest you specify plot.differentialTest in the vignettes so it's easier to find help, since ?plot doesn't show the help file for these functions.

Cheers,

jorondo1 avatar Oct 07 '22 13:10 jorondo1

That’s a good point, @jorondo1 ! We should definitely have an example of this in a vignette.

@gthopkins this should be easy — would you mind updating the vignettes to include an example of how we can do plotting, and how users can get the data that they need out of a summary table to make their own custom plots. This is not urgent, but would be good to have wrapped up within the next 2-3 weeks.

adw96 avatar Aug 23 '24 10:08 adw96

@adw96 yes, I will update the corncob vignette accordingly. Thank you for describing the timeline on this!

gthopkins avatar Aug 23 '24 12:08 gthopkins