
Last chance! 50% off unlimited learning
Sale ends in
export.wig(data, name, chrom="", filepath=name)
data
(only for numeric vectors)
## Not run:
# #Load data
# data(nucleosome_htseq)
# cover = coverage.rpm(nucleosome_htseq)
#
#
# #Create wig file
# export.wig(cover, name="example_track")
#
# #This would create the file "example_track.chr1.wig" with:
#
# #track type=wiggle_0 name="example_track"
# #fixedStep chrom=chr1 start=1 step=1
# #55.55247
# #55.55247
# #55.55247
# #277.7623
# #388.8673
# #...
# ## End(Not run)
Run the code above in your browser using DataLab