I would like to have the output sorted in descending order by "height"
or frequency.

But when I do the following:

rev(table(xx))
xx
T  G  C  A
15 10 12 13



Err, I guess you meant to write

        sort(table(xx))

here?

Cheers,
Stefan

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to