Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/outputAttractors.R
Create a human-readable table list the top genes for every attractor in the dataset and write to file.
1 | outputAttractors(x, min.basins=2, strength.pos=10, outputGeneNumber=100, write2File=FALSE, fileName="attractors.txt")
|
x |
A numerical matrix created by the |
min.basins |
Minimal number of basins (attractees) for an attractor to be considered meaningful. |
strength.pos |
The rank position of the gene list to be considered as the strength of the attractor.. |
outputGeneNumber |
Number of genes in each attractor to be output. |
write2File |
Whether write the output matrix to a file. |
fileName |
The file name if write to file. |
The function output every attractor found by the attractorScanning
function, excluding any
attractor that have less than min.basin
basin genes (or as we call, 'attractees'). Each
attractor is represented by the top outputGeneNumber
genes, ranked by the gene's mutual
information with the converged metagene.
A character matrix in which each attractor is represented by two columns: first the top genes, followed by each gene's mutual information with the converged metagene.
Wei-Yi Cheng
Wei-Yi Cheng, Tai-Hsien Ou Yang and Dimitris Anastassiou, Biomolecular events in cancer revealed by attractor metagenes, PLoS Computational Biology, Vol. 9, Issue 2, February 2013.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
# Load the toy dataset extracted from TCGA OV data
data(ov)
# find all attractors in the dataset
as.ov <- attractorScanning(ov)
mat <- outputAttractors(as.ov, outputGeneNumber=20)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.