Closed denvercal1234GitHub closed 3 years ago
Nevermind. I solved the issue by including as.data.frame() to the code below:
avgexp <- as.data.frame(avgexp$RNA)
avgexp$gene <- rownames(avgexp)
BTW, it says select_()
was deprecated in dplyr 0.7.0. when running CIPR
Hi there,
Thank you for the package!
I aim to use the Standard all-genes correlation method, but I encountered an error below. Would you mind advising me how to proceed?
Thank you for your help!
When I added a column gene to avgexp object, using the rownames of the output of AverageExpression(), it says "Coercing LHS to a list".
When I then check the colnames(avgexp), it says NULL, and the output of avgexp is now a list of individual element and not a dataframe, shown below:
As a result, when I ran CIPR using input_dat = avgexp, it produces an error: