You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think center() should be able to handle this case; rows correspond to samples and there is no need for the samples to have names for computing the center to make sense. Note, the function works fine w/o column names if enframe is not used.
Z<-matrix(c(
NaN, 1, 3.5,
-1, NaN, 4,
-2, 3, NaN,
-1, 2, 3), ncol=3, byrow=T)
# colnames(Z) <- paste0("T", 1:3)# rownames(Z) <- paste0("S", 1:4)metacal::center(Z, in_scale="log")
#> Object passed to `as_tibble()` must have row names if the `rownames`#> argument is set.
I think
center()
should be able to handle this case; rows correspond to samples and there is no need for the samples to have names for computing the center to make sense. Note, the function works fine w/o column names ifenframe
is not used.Created on 2019-08-06 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: