Description Usage Arguments Value See Also Examples
Write the dictionary to a text file using the
write.table
function. By default, a tab-separated file
is written, but this can be changed
by changing the arguments to write.table
.
1 |
dict |
a PGCA dictionary. |
file |
either a character string naming a file or a
|
... |
further arguments passed to |
This function returns NULL
invisibly.
pgcaDict
to create the dictionary, and
applyDict
to apply the dictionary for translating
data files.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # Build accession dictionary from all files in a directory
dict <- pgcaDict(
system.file("extdata", package="pgca"),
col.mapping=c(gene.symbol="Gene_Symbol")
)
# Save dictionary to a temporary file
dictOutFile <- tempfile()
saveDict(dict, file=dictOutFile)
# Change the separator string to a tab
dictOutFile <- tempfile()
saveDict(dict, file=dictOutFile, sep="\t")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.