Skip to content

Commit 8c9ee60

Browse files
committed
stop sorting of features by name in ttest
introduced during merge which sets sort=TRUE by default (now set to FALSE)
1 parent cf264e5 commit 8c9ee60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/ttest_class.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ setMethod(f="method.apply",
155155
})
156156

157157
temp=data.frame(row.names=CN) # make sure we get result for all features, even if NA
158-
output=merge(temp,as.data.frame(t(output),stringsAsFactors = FALSE),by=0,all=TRUE)
158+
output=merge(temp,as.data.frame(t(output),stringsAsFactors = FALSE),by=0,all=TRUE,sort=FALSE)
159159
rownames(output)=output$Row.names
160160
output=output[,-1]
161161
output$p.value=p.adjust(output$p.value,method = param.value(M,'mtc'))

0 commit comments

Comments
 (0)