powered by
Write a features object in fixedStep wig format
write.wig.feat(x, file = NULL, append = FALSE)
An object of type feat
The name of the file to write to. A value of NULL implies write to console.
If TRUE, append to the file. Otherwise overwrite.
# NOT RUN { f <- feat(seqname=c("chr1", "chr1", "chr1", "chr1", "chr2"), start=c(1, 11, 21, 100, 1), end=c(3, 13, 23, 102, 3), score=runif(5)) write.wig.feat(f) # }
Run the code above in your browser using DataLab