Description Type Extends Slots Methods Author(s) References See Also Examples
This class represents the output of a DAVID Functional Annotation Table report. In this class no statistical analysis is carried out.
This class is a "Concrete" one.
DAVIDResult in the conceptual way, and to reuse some functionalities such as plot2D, type and so on.
Genesa DAVIDGenes object with the submitted genes.
Dictionarya look up list of data.frame of each main annotation category, where the specified IDs and Terms used can be found.
Membershiplist with logical membership matrix, where gene ids are coded by rows and the respective annotation category ids as columns.
initializesignature(.Object=
"DAVIDFunctionalAnnotationTable", fileName="character"):
basic Functional Annotation Table report file parser.
DAVIDFunctionalAnnotationTablesignature(fileName=
"character"): high level Functional Annotation Table
report file parser.
validsignature(object=
"DAVIDFunctionalAnnotationTable"):logical which checks
for Membership, Dictionary and Genes cohesion.
showsignature(object="DAVIDFunctionalAnnotationTable"):
returns a basic console output.
genessignature(object="DAVIDFunctionalAnnotationTable")
: returns a DAVIDGenes object.
subsetsignature(object=
"DAVIDFunctionalAnnotationTable",
selection=c("Membership","Dictionary"), category,
drop=TRUE): returns a subset list using the selection
slot, looking up the category parameter if provided.
Otherwise, it returns all the available main categories.
Drop parameter indicates whether to drop list structure
or not, if a list of length==1 is to be returned.
dictionarysignature(object=
"DAVIDFunctionalAnnotationTable", category, drop=TRUE):
returns subset using selection="Dictionary" and category
and drop parameters.
membershipsignature(object=
"DAVIDFunctionalAnnotationTable", category="character",
drop=TRUE): returns subset using selection="Membership"
and category and drop parameters.
genessignature(object=
"DAVIDFunctionalAnnotationTable", ...): returns a
DAVIDGenes object slot, according to additional ...
parameters.
categoriessignature(object=
"DAVIDFunctionalAnnotationTable"): returns a character
vector with the main annotation categories available..
plot2Dsignature(object="DAVIDFunctionalAnnotationTable",
category, id, names.genes=FALSE, names.category=FALSE,
color=c("FALSE"="black", "TRUE"="green")): ggplot2 tile
plot of genes id vs functional annotation category
membership. If missing, all available data is used. In
addition, names.genes and names.category parameters
indicate whether to use or not, genes and category names
respectively. Default value is FALSE.
Cristobal Fresno and Elmer A Fernandez
The Database for Annotation, Visualization and Integrated Discovery (david.abcc.ncifcrf.gov)
Huang, D. W.; Sherman, B. T.; Tan, Q.; Kir, J.; Liu, D.; Bryant, D.; Guo, Y.; Stephens, R.; Baseler, M. W.; Lane, H. C. & Lempicki, R. A. DAVID Bioinformatics Resources: expanded annotation database and novel algorithms to better extract biology from large gene lists. Nucleic Acids Res, Laboratory of Immunopathogenesis and Bioinformatics, SAIC-Frederick, Inc., National Cancer Institute at Frederick, MD 21702, USA., 2007, 35, W169-W175
Other DAVIDFunctionalAnnotationTable:
DAVIDFunctionalAnnotationChart,
DAVIDFunctionalAnnotationChart,
DAVIDFunctionalAnnotationChart,
DAVIDFunctionalAnnotationTable,
DAVIDFunctionalAnnotationTable,
DAVIDFunctionalAnnotationTable,
DAVIDGODag, DAVIDGODag,
DAVIDGeneCluster,
DAVIDGeneCluster, DAVIDGenes,
DAVIDGenes, DAVIDGenes,
DAVIDTermCluster,
DAVIDTermCluster, as,
as, as,
categories, categories,
categories, dictionary,
dictionary, genes,
genes, genes,
genes, initialize,
initialize, initialize,
initialize, initialize,
initialize, initialize,
membership, membership,
plot2D, plot2D,
plot2D, plot2D,
plot2D, plot2D,
subset, subset
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | {
##Load the Functional Annotation Table file report for the input demo
##file 1, using data function. Then, create a DAVIDFunctionalAnnotationTable
##object using the loaded data.frame annotationTable1. In addition, the user
##can use the file name of the downloaded file report.
data(annotationTable1)
davidFunTable1<-DAVIDFunctionalAnnotationTable(annotationTable1)
##Now we can obtain the genes for the given ids, or the complete list if the
##parameter is omitted.
genes(davidFunTable1, id=c("37166_at","41703_r_at"))
##Or the main categories used on the analysis, in order to get the
##dictionary for a specific category (ID and Term fields), for the head of
##the data.frame.
categories(davidFunTable1)
head(dictionary(davidFunTable1, categories(davidFunTable1)[1]))
##And what about the membership of the genes in these terms? Just for the
##first six ids we can use:
head(membership(davidFunTable1, categories(davidFunTable1)[1]))
##Or simply plot the membership of only for the first six terms in this
##category, with only the genes of the first six terms with at least one
##evidence code.
##Category filtering...
categorySelection<-list(head(dictionary(davidFunTable1,
categories(davidFunTable1)[1])$ID))
names(categorySelection)<-categories(davidFunTable1)[1]
##Gene filter...
id<-membership(davidFunTable1, categories(davidFunTable1)[1])[,1:6]
id<-ids(genes(davidFunTable1))[rowSums(id)>0]
##Finally the membership tile plot
plot2D(davidFunTable1, category=categorySelection, id=id,
names.category=TRUE)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.