Question: (Closed) retrieve lines with bash/awk
0
gravatar for Sam
6 weeks ago by
Sam100
Sam100 wrote:

Dear All I have a table in this format (sep="\t"):

> head (final_results)
                row            column         cor           p
1 Eucgr.A00001.v2.0 Eucgr.A00003.v2.0  0.19259162 0.548714973
2 Eucgr.A00001.v2.0 Eucgr.A00004.v2.0  0.73894587 0.006039257
3 Eucgr.A00003.v2.0 Eucgr.A00004.v2.0 -0.05585972 0.863103037
4 Eucgr.A00001.v2.0 Eucgr.A00005.v2.0  0.63046206 0.027964074
5 Eucgr.A00003.v2.0 Eucgr.A00005.v2.0 -0.34251437 0.275780988
6 Eucgr.A00004.v2.0 Eucgr.A00005.v2.0  0.78089904 0.002716003

how I can retrieve lines with value higher than +0.9 and -0.9 in cor and below 0.05 in P columns?

Thanks

bash awk • 68 views
ADD COMMENTlink modified 6 weeks ago • written 6 weeks ago by Sam100

Hello Sam!

We believe that this post does not fit the main topic of this site.

Pure R/bash(?)/awk(?) question. Please search StackOverflow

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

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

Cheers!

ADD REPLYlink written 6 weeks ago by RamRS20k
Please log in to add an answer.
The thread is closed. No new answers may be added.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1027 users visited in the last hour