Export linkSet to WashU format
Examples
data(linkExample)
tmpfile <- tempfile(fileext = ".txt")
exportWashU(linkExample, tmpfile)
cat(readLines(tmpfile), sep = "\n")
#> chr1 1 10 Gene1 chr1 50 59 chr1:50-59:+
#> chr1 100 109 Gene1 chr2 150 159 chr2:150-159:+
#> chr2 200 209 Gene2 chr2 250 259 chr2:250-259:+
#> chr3 300 309 Gene3 chr4 350 359 chr4:350-359:+
#> chr4 400 409 Gene3 chr4 450 459 chr4:450-459:+