This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Top 10 clonotype frequency

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

Hello roberts!

Questions similar to yours can already be found at:

We have closed your question to allow us to keep similar content in the same thread.

If you disagree with this please tell us why in a reply below. We'll be happy to talk about it.

Cheers!

0 answers

No answers yet.

Log in to answer this question.