Smoothing densities of genes in R
1
0
Entering edit mode
7.1 years ago
User000 ▴ 690

I have a table with chromosomes bins of 1Mb size and the density of expressed genes. I would like to smooth the densities and get the values. Could somebody suggest how to do that?

RNA-Seq R • 1.8k views
ADD COMMENT
0
Entering edit mode

Hi

Could you tell me how did you make table with chromsones bins 1Mb size and the density of expressed genes.

Thanks

ADD REPLY
0
Entering edit mode
7.1 years ago
EVR ▴ 610

What do you mean by smoothing? Have you tried making density plot by taking log2(values)?

ADD COMMENT
0
Entering edit mode

I am not sure, but may be something like this? fit <- ksmooth(genes$pos, genes$value, bandwidth = 10^6) But I also want to take into account each chromosome

ADD REPLY

Login before adding your answer.

Traffic: 2434 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