This is a test version of Biostars. For the public version, visit https://www.biostars.org.
A specific problem to range data within R(or linux,python)

Hi, all. I have a set of data like this:

a,0.1,0.4,1.5,1.8,1.2,0.8,0.5,0.2
b,0.4,0.9,1.1,0.3,0.1
c,0.5,0.7,1.9,2.5,2.2,0.7,0.2

which is every variable(here---a,b,c) has a set of values and there must be a man value in the middle(here for a,b,c--1.8,1.1,2.5 in the middle), I want to make this data like this:

a,0.1,0.4,1.5,1.8,1.2,0.8,0.5,0.2
b,0,   0.4,0.9,1.1,0.3,0.1,0,   0
c, 0.5,0.7,1.9,2.5,2.2,0.7,0.2,0

which is to make the max value of each variable standing in the absolute center and fill the blanks with 0. How Can I do this with R(or python,linux). Thanks!

rna-seq r python linux seq

Hello szp770!

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

This doesn't look like a bioinformatics problem. In fact, it looks like an XY problem (look that up)

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!

0 answers

No answers yet.

Log in to answer this question.