Learn R Programming

lineup (version 0.44)

expr-data: Example gene expression data

Description

Matrices of simulated gene expression data, each for 98 individuals at 5,000 genes. Think of expr1 and expr2 as expression data on two different tissues.

Usage

data(expr1)
data(expr2)

Arguments

Format

A matrix of integers, individuals as rows and genes as columns.

See Also

genepos(), f2cross(), pmap()

Examples

Run this code
data(expr1)
data(expr2)

# identify the common individuals
id <- findCommonID(rownames(expr1), rownames(expr2))

# correlation between tissues for each gene
rho <- corbetw2mat(expr1[id$first,], expr2[id$second,])
hist(rho, breaks=100)

Run the code above in your browser using DataLab