griffithdan / cooccur

Probabilistic Species Co-occurrence Analysis in R
3 stars 6 forks source link

access to parts of cooccur object? #4

Open GATempel opened 4 years ago

GATempel commented 4 years ago

Hello Dan,

I am using your package to analyze microbial 16S RNA data and I am trying to access only certain parts of the created cooccur object. To be precise I want to plot the heatmap - but nor for all the species that occur - as that becomes confusing fast - but only a set of species that I selected in a preprocess. I know that I could create a matrix with just these species and run cooccur on that specific matrix but would prefer to run cooccur on the complete data set and then select which species I want to include in the heatmap. Is such a thing somehow possible? If there is an obvious way on how to handle this I apologize for the inconvenience as I am quite new to R.

Sincerely , Gregor