Learn R Programming

R4RNA (version 1.0.0)

Write Helix: Write out a helix data frame into a text file

Description

Write out a helix data frame into a text file into the four-column tab-delimited format with proper header and column names.

Usage

writeHelix(helix, file = stdout())

Arguments

helix
A helix data frame.
file
A character string pointing to a file path, or a file connection. Defaults to the console.

Value

No value returned, will write to STDOUT or specific file location.

Examples

Run this code
    # 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)

Run the code above in your browser using DataLab