write.perseus | R Documentation |
Write data to a perseus text file or connection
Write Data to file in the custom Perseus matrix file format.
write.perseus(object = NULL, con = NULL, ...) ## Default S3 method: write.perseus(object = NULL, con = NULL, main, annotCols = NULL, annotRows = NULL, descr = NULL, imputeData = NULL, qualityData = NULL, ...) ## S3 method for class 'matrixData' write.perseus(object, con, ...) ## S3 method for class 'list' write.perseus(object, con, ...) ## S3 method for class 'data.frame' write.perseus(object, con, annotCols = NULL, ...) ## S3 method for class 'matrix' write.perseus(object, con, annotCols = NULL, ...) ## S3 method for class 'ExpressionSet' write.perseus(object, con, ...)
object |
an expressionSet, matrixData, list or table-like object. |
con |
A |
... |
additional arguments passed to other functions |
main |
a data frame containing |
annotCols |
a df containing columns containing metadata (about the rows) |
annotRows |
a df containing columns containing metadata (about the columns) |
descr |
a character vector that describes the columns in main and in annotCols (in that order) |
imputeData |
a df containing imputations – True or False of main data frame |
qualityData |
a df containing quality values of main data frame |
writes to disk a perseus-interpretable text representation of an R object
NULL
NULL
NULL
NULL
NULL
read.perseus
matrixData
df <- matrixData( main=data.frame(a=1:3, b=6:8), annotCols=data.frame(b=c('a','b','c')), annotRows=data.frame(x=factor(c('1','1'))), description=c('a','a','b')) con <- textConnection('df1', 'w') write.perseus(df, con) close(con)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.