Description Usage Arguments Value Author(s) Examples
Write out a helix data frame into a text file into the four-column tab-delimited format with proper header and column names.
1 | 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
1 2 3 4 5 6 | # 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)
|
Loading required package: Biostrings
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: ‘BiocGenerics’
The following objects are masked from ‘package:parallel’:
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from ‘package:stats’:
IQR, mad, sd, var, xtabs
The following objects are masked from ‘package:base’:
anyDuplicated, append, as.data.frame, basename, cbind, colnames,
dirname, do.call, duplicated, eval, evalq, Filter, Find, get, grep,
grepl, intersect, is.unsorted, lapply, Map, mapply, match, mget,
order, paste, pmax, pmax.int, pmin, pmin.int, Position, rank,
rbind, Reduce, rownames, sapply, setdiff, sort, table, tapply,
union, unique, unsplit, which.max, which.min
Loading required package: S4Vectors
Loading required package: stats4
Attaching package: ‘S4Vectors’
The following object is masked from ‘package:base’:
expand.grid
Loading required package: IRanges
Loading required package: XVector
Attaching package: ‘Biostrings’
The following object is masked from ‘package:base’:
strsplit
# 15
i j length value
sh: 1: rm: Permission denied
2 8 3 0.5
5 15 4 -0.5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.