Learn R Programming

functClust (version 0.1.6)

fclust_write: Record a functional clustering for one or several performances

Description

Write the results of a functional clustering in text format in 6 different files.

Usage

fclust_write(fres = NULL, filename = "")

Arguments

fres

a list containing predictions of assembly performances and statistics computed by using a species clustering tree. The list is generated by the function validate_ftree, also called by the function fclust.

filename

a string, used as radical for the 6 file names.

Value

Nothing. It is a procedure.

Details

The results are splitted in 5 different files.

  • "filename.options.csv": contains nbElt, nbAss, nbXpr, "opt.method", "opt.mean", "opt.model", "opt.jack","jack", "opt.na", "opt.repeat" and "affectElt".

  • "filename.inputs.csv": contains fobs, xpr and mOccur.

  • "filename.trees.csv": contains the optimum number of functional clusters nbOpt, and the hierarchical trees tree.I and tree.II.

  • "filename.matrices.csv": contains the matrices mCal, mPrd, mMotifs, tCal, tPrd, and tNbcl.

  • "filename.stats.csv": contains both statistical matrices mStats and tStats.

See Also

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.

Examples

Run this code
# NOT RUN {
# save "res" in the files "myRecord.*".

res <-  CedarCreek.2004.res
filename <- tempfile(pattern = "myRecord", tmpdir = tempdir())

fclust_write(res, filename)


# }

Run the code above in your browser using DataLab