On Thu, Jul 23, 2009 at 10:20 AM, Ivan Gregoretti <[email protected]>wrote:

> I would appreciate any pointer to answer this question:
>
> How do you smooth a wig file?


Well, to get the scores:

track <- import("foo.wig")
scores <- score(track)

Now you are free to use any of the functions in R for smoothing a numeric
vector. Like loess(), runmed(), etc.

Michael


>
> By smooting I mean average scores over a user defined window size.
>
> Thanks,
>
> Ivan
>
>
> Ivan Gregoretti, PhD
> National Institute of Diabetes and Digestive and Kidney Diseases
> National Institutes of Health
> 5 Memorial Dr, Building 5, Room 205.
> Bethesda, MD 20892. USA.
> Phone: 1-301-496-1592
> Fax: 1-301-496-9878
>
> _______________________________________________
> Bioc-sig-sequencing mailing list
> [email protected]
> https://stat.ethz.ch/mailman/listinfo/bioc-sig-sequencing
>

        [[alternative HTML version deleted]]

_______________________________________________
Bioc-sig-sequencing mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/bioc-sig-sequencing

Reply via email to