1
XCMS / Re: Error in diffreport -> pval: missing "drop=FALSE"
You are probably right, I'm not sure how much sense it makes to calculate t-test for a class of size 1.
This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.
Error in rowSums(!is.na(X[, classlabel == 1])) :The problem is that with one sample in a class, the expression X[, classlabel == 1] results in a vector. The solution is to add drop=FALSE
'x' must be an array of at least two dimensions
Calls: diffreport -> diffreport -> .local -> pval -> rowSums