Question: Scaled gene expression data and produced negative value
0
Nan • 0 wrote:
Hi, I have a data table of gene expression which contains TPM value. So here I try to do a heatmap plot. So I scale by gene level at first and produce negative value. So why negative values comes up?
What kind of scaling have you done?
If it's
log scale
orzscore
there will be negative values for values less than 1Can you include your code here?
rowScales(data) - Very simple code.
That's not as simple as you claim - which package is
rowScales
from? Why are you using it instead ofscale
?Why don't you share us the
package
name used in R? Tell us about the functionrowScales