writeCsv: Write a csv file

Description Usage Arguments Value See Also Examples

Description

Export the cytofile slot to a a csv file.

Usage

1
2
writeCsv(obj, name, pval.cutoff = 1, cor = NULL, alternative = "less", dat.sum =
                 obj@info[["dat.sum"]], slot = "net" , pval = "adj.pval")

Arguments

obj

a corObject.

name

the name of the file to write.

pval.cutoff

maximum corrected p value to take.

cor

correlation cutoff.

alternative

"less": select correlations lower than correlation cutoff; "greater": select correlations greater than correlation cutoff; or "two.sided": select correlations with absolute value greater than correlation cutoff.

dat.sum

number of minimum ocurrences across databases.

slot

name of the slot to write. "net" (default), "diffexp.miRNA", "diffexp.mRNA", "dat.miRNA", "dat.mRNA", "pheno.miRNA" or "pheno.mRNA". P-value and dat.sum filtering is applied to "net" slot. P-value filtering is applied to "diffexp.miRNA" and "diffexp.mRNA" slots. No filtering is applied to "dat.miRNA", "dat.mRNA", "pheno.miRNA" or "pheno.mRNA" slots.

pval

name of the p.value column to select.

Value

A csv file.

See Also

writeExcel, writeSif, selSubsetCor, selSubsetExprs

Examples

1
2
3
## do not run
#data(data.obj)
#writeCsv(data.obj,"results_csv.csv")

mariavica/mircomb documentation built on Feb. 3, 2020, 2:28 a.m.