How can I plot a scatterplot from a matrix?

I want to do a scatterplot with the data I have in a (huge) matrix. For example, if I have this matrix:

            sample1   sample2
sample1           0        12      
sample2          15         0

I want to do a scatterplot with a point in the coordinate 12:15 (both values of sample1 vs. sample2).

Is it possible?


This should help you:

I know geom_point() but I don't see how it can help me in that case...

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.