%% error in Rstudio

%% error in Rstudio

1

dc.markers %>% group_by(cluster) %>% top_n(2, wt = avg_logFC)

the above code is giving error even after using dplyr and matrix libraries in seurat analysis in rstudio

error : Error: Problem with filter() input ..1.
i Input ..1 is top_n_rank(2, avg_logFC).
x object ‘avg_logFC’ not found
i The error occurred in group 1: cluster = 0.
Run rlang::last_error() to see where the error occurred.


rstudio


ERROR


seurat


clustering

• 24 views

updated 1 hour ago by

▴

270

written 2 hours ago by

0

Try with avg_log2FC, They changed the names of the columns in the newer version


Login
before adding your answer.

Source link