This question is not directly related to parent thread. You should have asked it in a new thread.
As indicated in this link BED format is plain text and only requires three columns by default (chromosome, chromStart, chromEnd). You could include signal intensity as an optional additional column.
How to convert the data from .wig file to .table or .csv?
Hi, all I read a data from wig file with import.wig function of rtracklayer package. The class() of this data showed :"UCSCdata". I am failed to write the data to other format with "write.table/csv(XXX,file="XX",sep=" ")". Could you tell me which funtion/methods can convert the data to other format(.txt, .csv or excel)?
• 6,845 views
•
link
3 answers
Use export.wig from rtracklayer with dataFormat to BED. BED format is text based.
• 0 views
•
link
Does this bed format contain the signal intensity column?
• 0 views
•
link
• 0 views
•
link
Log in to answer this question.