| Write Helix {R4RNA} | R Documentation |
Write out a helix data frame into a text file into the four-column tab-delimited format with proper header and column names.
writeHelix(helix, file = stdout())
helix |
A helix data frame. |
file |
A character string pointing to a file path, or a file connection. Defaults to the console. |
No value returned, will write to STDOUT or specific file location.
Daniel Lai
# Create helix data frame
helix <- data.frame(2, 8, 3, 0.5)
helix[2, ] <- c(5, 15, 4, -0.5)
helix <- as.helix(helix)
writeHelix(helix)