Learn R Programming

emuR (version 1.0.0)

write.emusegs: Write an Emu segment list to a file

Description

Writes an Emu segment list to a file

Usage

write.emusegs(seglist, file)

Arguments

seglist

An Emu segment list

file

The name of a file to write the segment list into.

Value

None.

Side Effects

The segment list is written to a file in the standard format, suitable for input to gettrack or other Emu utility programs.

See Also

query

Examples

Run this code
# NOT RUN {
   data(dip)
   #dip a segment list - first 10 segments only
   dip[1:10,]
   
# }
# NOT RUN {
write.emusegs(dip, "write.emusegs.example.txt")
# }
# NOT RUN {
   
   #The file write.emusegs.example.txt would have been written to R_HOME
   
# }
# NOT RUN {
unlink("write.emusegs.example.txt")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab