Description Usage Arguments Value Author(s) Examples
outputPosNeg method generics
Output negative gene pairs
1 2 3 4 5 6 7 | ## S4 method for signature 'GSminer'
outputPosNeg(object, u = 0.5, l = 0.25,
method.term = c("Resnik", "Lin", "Schlicker", "Jiang", "Pesquita"),
method.gene = c("BM.average", "BM.max", "BM.complete", "average", "max"),
multicores = NULL, verbose = TRUE, seed = NA,
posFilename = "positiveGene.txt", negFilename = "negativeGene.txt",
sep = "\t", filterByCC = TRUE, FNegFile = "negativeGene.filtered.txt")
|
object |
the GSminer object |
u |
the upper bound, 1/2 by default |
l |
the lower bound, 1/4 by default |
method.term |
method for computing the similarity |
method.gene |
the method used for how to derive semantic similarity between genes from semantic similarity between terms. |
multicores |
an integer to specify how many cores will be registered as the multicore parallel backend to the 'foreach' package. |
verbose |
logical to indicate whether the messages will be displayed in the screen. |
seed |
for reproducibility, the seed of the random number generator can be set to a fixed value before adding noise. |
posFilename |
postive gene output file name |
negFilename |
negative gene output file name without filtered by CC GO terms |
sep |
the delimiter of the file |
filterByCC |
weather filtered by CC GO terms by default is TRUE |
FNegFile |
negative gene output file name filtered by CC GO terms |
a vector which name is selected GO term
Lizhaohong && Wu Zefeng
1 2 3 4 5 6 | inputFile <- paste0(system.file(package = "GSminer"), "/extdata/TAIR.GO")
miner <- GSminer(inputFile = inputFile, sep = "\t")
#outputPosNeg(miner, u = 0.1, l = 0.2, method.term = "Resnik",
# method.gene = "BM.average", multicores = 2,
# verbose = FALSE, posFilename = "pos.txt",
# filterByCC = FALSE, FNegFile = "neg.text")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.