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
The following error occurred when rendering Affymetrix.qmd for one dataset:
Error in (function (cond) :
error in evaluating the argument 'x' in selecting a method for function 'as.data.frame': Problem while computing `Group.Mean_(1G) = rowMeans(dplyr::select(.,
all_of(current_samples)))`.
Caused by error:
! error in evaluating the argument 'x' in selecting a method for function 'rowMeans': Problem while evaluating `all_of(current_samples)`.
In this particular dataset, some columns were unintentionally renamed because they happen to contain the substring that's being replaced (for other columns), causing this error when trying to select them later on.
Solution
Be more explicit about which columns we want to rename using rename_with()here in Affymetrix.qmd:
Description
The following error occurred when rendering
Affymetrix.qmd
for one dataset:In this particular dataset, some columns were unintentionally renamed because they happen to contain the substring that's being replaced (for other columns), causing this error when trying to select them later on.
Solution
Be more explicit about which columns we want to rename using
rename_with()
here inAffymetrix.qmd
:The same can be done here for
Agile1CMP.qmd
to prevent something similar from happening in the future:The text was updated successfully, but these errors were encountered: