https://mia-paris.pages.mia.inra.fr/formation_abondance_reseau/tutoriels/PLN/mollusk.html#36

Hello everyone,
I use currently the package PLNmodels for my metabarcoding data set,
But , Impossible to obtain the Rsquare when I use the function PLN and I didn't find more information for add this parameters.
(See to the link the slide 23) or the script exemple just below.

Thank you for ur help :slight_smile:

library(PLNmodels)
packageVersion("PLNmodels")
data(mollusk)
str(mollusk, max.level = 1)
mollusk$Abundance %>%
dplyr::select(1:10) %>%
head() %>% DT::datatable(fillContainer = FALSE)
t(log(1 + mollusk$Abundance)) %>%
corrplot::corrplot(
is.corr = FALSE,
addgrid.col = NA,
tl.cex = .5,
cl.pos = "n"
)
mollusc <- prepare_data(
counts = mollusk$Abundance,
covariates = mollusk$Covariate,
{{ offset = "TSS" }} # look at other possible choices
)
M00_mollusc <- PLN(Abundance ~ 1, mollusc)
M00_mollusc

https://mia-paris.pages.mia.inra.fr/formation_abondance_reseau/tutoriels/PLN/mollusk.html#36

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.