Description Usage Arguments Details Value See Also Examples
Read the files resulting from a functional clustering
and saved in text format in 6 different files
by using function fclust_write()
.
1 | fclust_read(filename = "")
|
filename |
a string, used as radical for the 6 file names. |
The results are saved in 5 different files.
"filename.options.csv"
: contains nbElt
, nbAss
,
nbOpt
, "opt.method"
, "opt.mean"
,
"opt.model"
.
"filename.inputs.csv"
: contains fobs
and
names(fobs)
, xpr
and names(xpr)
.
"filename.trees.csv"
: contains the hierarchical tree
tree$aff
and tree$cor
.
"filename.matrices.csv"
: contains the matrices
mCal
, mPrd
, mMotifs
, tCal
, tPrd
,
and tNbcl
.
"filename.stats.csv"
: contains both statistical matrices
mStats
and tStats
.
If only a file does not exist or is corrupted, the function is stopped.
The result of the functional clustering
recorded in the files "filename.*.csv"
.
fclust
: make a functional clustering,
fclust_plot
: plot the results of a functional clustering,
fclust_write
: save the results of a functional clustering,
fclust_read
: read the results of a functional clustering.
1 2 3 4 5 6 7 8 9 | # save "res" in the files "myRecord.*" then read them again.
res <- CedarCreek.2004.res
filename <- tempfile(pattern = "myRecord", tmpdir = tempdir())
fclust_write(res, filename)
res <- fclust_read(filename)
all.equal(res, CedarCreek.2004.res)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.