Learn R Programming

MAMA (version 2.2.1)

commonGenes: Function to compute number of common genes in ordered gene lists

Description

Function computes number of common genes up to each position (from 1 to n)

Usage

commonGenes(ord, n)

Arguments

ord
Data frame, where columns refer to ordered gene list from one study
n
The last position to be concered

Value

References

Yang, X., Bentink, S., Scheid, S. Spang, R., Similarities of ordered gene lists, 2005

Examples

Run this code
genes<-paste("Gene", 1:100)
O<-cbind(sample(genes), sample(genes), sample(genes))
commonGenes(O,100)

Run the code above in your browser using DataLab