Learn R Programming

goProfiles (version 1.34.0)

compSummary: This function returns a brief summary of the comparison between two (expanded) profiles.

Description

Function to return a brief summary of the comparison between two (expanded) profiles.

Usage

compSummary(l, decs = 6)

Arguments

l
A list of comparison results as returned by a call to compareGenelists
decs
Number of decimal places to use in the output

Value

A data frame with the summarized results of each comparison. The values contained are: Sqr.Eucl.Dist: The squared euclidean distance, Standard Err: The standard error estimate, pValue p value of the test, low conf.intLower value for the desired confidence interval, up conf.intUpper value for the desired condfidence interval.

Examples

Run this code
# (NOT RUN)
# data(prostateIds)
# expandedWelsh <- expandedProfile(welsh01EntrezIDs[1:100], onto="MF",
#                        level=2, orgPackage="org.Hs.eg.db")
# expandedSingh <- expandedProfile(singh01EntrezIDs[1:100], onto="MF",
#                        level=2, orgPackage="org.Hs.eg.db")
# commonGenes <- intersect(welsh01EntrezIDs[1:100], singh01EntrezIDs[1:100])
# commonExpanded <- expandedProfile(commonGenes, onto="MF", level=2, orgPackage="org.Hs.eg.db")
# comparedMF <-compareGOProfiles (pn=expandedWelsh, 
#                           qm  = expandedSingh, 
#                           pqn0= commonExpanded)
# print(comparedMF)
# print(compSummary(comparedMF))
#

Run the code above in your browser using DataLab