Warning messages: Warning messages: 1: In var(if (is.vector(x) || is.factor(x)) x else as.double(x), na.rm = na.rm) : NAs introduced by coercion 2: In xtfrm.data.frame(x) : cannot xtfrm data frames

Hello experts,

I am trying to use MaAslin pipeline. However, I received these warning messages.

Warning messages:
1: In var(if (is.vector(x) || is.factor(x)) x else as.double(x), na.rm = na.rm) :
NAs introduced by coercion
2: In xtfrm.data.frame(x) : cannot xtfrm data frames

I would like to know to solve these messages,

Thank you very much,
Kind regards,
Le Phuong Nguyen.

The xtfrm.data.frame(x) warning is an issue related to newer versions of R which will get fixed sooner or later, though I don’t think it’s causing any real issues at the moment. The NAs introduced by coercion is again the same warning as your other thread I believe.

Hi Andrew,

Thank you for your explanation.
Kind regards,
Le Phuong Nguyen.