Learn R Programming

KODAMA (version 0.0.1)

MetRef: Nuclear Magnetic Resonance Spectra of Urines

Description

Nuclear magnetic resonance spectra of urines. The data belong to a cohort of 22 healthy donors (11 male and 11 female) where each provided about 40 urine samples over the time course of approximately 2 months, for a total of 873 samples.

Usage

data(MetRef)

Arguments

Value

A list with the following elements:
data
Gene expression data. A matrix with 873 rows and 450 columns.
gender
Gender index. A vector with 873 elements.
donor
Donor index. A vector with 873 elements.

References

Assfalg M, Bertini I, Colangiuli D, et al. Evidence of different metabolic phenotypes in humans. Proc Natl Acad Sci U S A 2008;105(5):1420-4.

Examples

Run this code
data(MetRef)
u=MetRef$data;
u=u[,-which(colSums(u)==0)]
u=scaling(u)$newXtrain
class=as.numeric(as.factor(MetRef$gender))
cc= cmdscale(dist(u))
plot(cc,pch=21,bg=class,xlab="First Component",ylab="Second Component");

Run the code above in your browser using DataLab