Off topic:Remove the same rows in R
0
0
Entering edit mode
5.1 years ago
pablo ▴ 300

Hello guys,

I have an output like this :

 var1    var2     value
1 OTU0001 OTU0001 1.0000000
2 OTU0004 OTU0001 0.7349885
3 OTU0014 OTU0001 0.5338774
4 OTU0016 OTU0001 0.6671633
5 OTU0017 OTU0001 0.6087571
6 OTU0027 OTU0001 0.5649240
...

I would like to remove the identical rows (which are the correlations between OTUs). For example, I have the row "OTU0004 OTU0001 0.7349885" what I'll find few rows further in the form of "OTU0001 OTU0001 0.7349885" . If I can remove the same rows, I could divide my number of rows by two.

Thanks

R • 637 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 1692 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