Usage
profileTable(pvals, gene.names, contrasts, list.groups, sig.level = 0.05, gene.ID, organism, affy.chip, ontology = "BP", method = 2, minsize = 1, maxsize = Inf, mult.adj = "BY")
Arguments
pvals
A matrix containing the one-sided p-values corresponding to the various genes (rows) and contrasts (columns)
gene.names
A character vector containing the gene names that correspond to the rows of the matrix of p-values. If NULL, then gene.names <- rownames(pvals)
contrasts
A character vector containing the contrasts that correspond to each column in the matirx of p-values. Must either be in format: Var1 or Var1.Var2 (Var2 is optional). The number of levels in Var1 determines the dimensions of the profiles (i.e. if Var1 has 2 levels, then there will be two columns for the profiles in the returned table). Var2 determines the number of columns, or strata, that will be reported in the returned table for each profile. If Var2 is not given, then there will only be one column reported, which will be the ontology chosen. If NULL, then contrasts <- colnames(pvals)
list.groups
An optional list containing user-defined gene sets
sig.level
The alpha level that should be used. Default is .05. This level is divided equally between the two sides of the test. So, for the default level of .05, any p-value less than .025 or greater than .975 is considered significant.
gene.ID
Gene naming system used for the gene names. Used to generate list of gene sets mapping genes to Gene Ontology sets. gene.ID
can be "entrez", "genbank", "alias", "ensembl", "symbol", "genename", "unigene", or "affy" among others. (See ID
argument in the annFUN.org
function of the topGO
package for supported levels.) If ID is all numeric and is not listed above, see http://biit.cs.ut.ee/gprofiler/gconvert.cgi for proper input.
organism
The organism that the genes come from. Used to generate list of gene sets mapping genes to Gene Ontology sets. The organism name should be the first letter of the scientific name and the second word of the scientific name, all lower case. For example, human would be "hsapiens".
organism must be one of the following: agambiae, athaliana, btaurus, celegans, cfamiliaris, dmelanogaster, drerio, ecoliK12, ecoliSakai, ggallus, hsapiens, mmusculus, mmulatta, pfalciparum, ptrogldytes, rnorvegicus, scerevisiae, scoelicolor, sscrofa, tgondii, or xlaevis
affy.chip
The type of affy.chip used, if gene.ID == "affy". If abatch
is an AffyBatch object, then use affy.chip = annotation(abatch)
ontology
The ontology that should be used for gene sets: "BP", "MF", or "CC". Default is "BP"
method
The method for handling gene name translation issues. Default is 2 (See "Details" below). minsize
The minimum number of genes a gene set can have and still be included in the list of gene sets,
if the list is not provided by the user.
maxsize
The maximum number of genes a gene set can have and still be included in the list of gene sets,
if the list is not provided by the user.
mult.adj
The type of multiple hypothesis adjustment to make. BY is a Benjamini-Yekutieli adjustment. SFL
is a Short Focus Level adjustment.