Skip to content

Commit fa0e90f

Browse files
committed
bug fix in variable_meta
use rownames instead of colnames to prevent variable_meta becoming NA
1 parent b4cc36b commit fa0e90f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/mv_feature_filter_class.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ setMethod(f="method.apply",
8181
IN=apply(flags[,(length(L)+1):ncol(flags)],MARGIN=1,function(x) any(x==1))
8282
} else {
8383
IN=flags[,2]==1
84-
nmes=rownames(flags)[IN]
84+
8585
}
86-
nmes=colnames(flags)[IN]
86+
nmes=rownames(flags)[IN]
8787
vmeta=vmeta[nmes,,drop=FALSE]
8888
x=x[,IN,drop=FALSE]
8989
dataset.data(D) = x

0 commit comments

Comments
 (0)