User Tools

Site Tools


code_from_pm_paper

R code examples

These examples are aimed at the readers with a basic familiarity with R; if you have not previously used R, we recommend that you start by reading the official introduction to this powerful language for statistical programming.

Please see the original paper for the detailed description of this code. (Lines starting with '#' are comments and will not be executed by R).

Read-in and preprocess the data

Reduce the dimensionality of M

Interpreting clusters and dimensions

Building prediction models

Cross-validated predictions of all traits

code_from_pm_paper.txt · Last modified: 2017/03/02 10:19 by David Stillwell