Off topic:Top 10 clonotype frequency
0
0
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?

R Seurat 10X • 534 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 1977 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6