Learn R Programming

CompGO (version 1.8.1)

slidingJaccard: Plot two functional annotation charts using a sliding Jaccard coefficient

Description

This function compares two functional annotation charts using a sliding Jaccard coefficient - a ranked list of P-values is produced, and a sliding window is used to find the Jaccard coefficient of two charts at different cutoffs of the top n terms. This is useful to determine where the majority of overlapping terms is located, and can also be used to compare Jaccard profiles between multiple (up to 4) sets if C and D are supplied.

Usage

slidingJaccard(setA, setB, increment = 50, setC = NULL, setD = NULL)

Arguments

setA
A DAVIDFunctionalAnnotationChart to compare
setB
A DAVIDFunctionalAnnotationChart to compare
increment
The number of terms (n) to increment for each sliding window
setC
A DAVIDFunctionalAnnotationChart to compare, optional
setD
A DAVIDFunctionalAnnotationChart to compare, optional

Examples

Run this code
data(funChart1)
data(funChart2)
slidingJaccard(funChart1, funChart2, 50, FALSE)

Run the code above in your browser using DataLab