This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Smoothing densities of genes in R

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

Hi

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

Thanks

1 answer

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

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

Log in to answer this question.