Entering edit mode
3.6 years ago
roberts
▴
60
Hello I am using
top10_clonotype <- table(AD007S$clonotype_id)
top10_clonotype <- as.data.frame(top10_clonotype)
top10_clonotype <- slice_max(top10_clonotype, order_by = top10$freq, n=11)
I am trying to pick out the top 10 most frequent clonotypes in my object. This code was working before but now I keep getting the warning -
in order(x, decreasing = TRUE) : argument 1 is not a vector
In addition: Warning message:
Unknown or uninitialised column: `freq`.
Any suggestions?