Docsity

PCA: Dimensionality Reduction and Identifying New Variables in Gene Expression Data, Lecture notes of Art

Partial preview of the text

Download PCA: Dimensionality Reduction and Identifying New Variables in Gene Expression Data and more Lecture notes Art in PDF only on Docsity!

PRINCIPAL COMPONENT

ANALYSIS

Matrix Algebra Approach

Nomenclature

In the clustering and dimension reduction

context:

  • Genes are considered to be variables
    • Also called dimensions
    • Also called components
    • Also called axes
  • Gene expression levels are the observed

data

  • Also called data points
  • Also called assays
  • Also called samples

INTRODUCTION

CONCEPT: Variance  Information

The analysis we seek must provide the

greatest information with the least

cost/complexity

Objectives of PCA

• To reduce the dimensionality of the data set

• To identify new meaningful variables

Expression levels from genes A and B are plotted against one another. There are equal amounts of variance accounted for by each gene. The spherical shape of the data swarm makes hidden correlations unlikely Gene A Gene B Variance along axis of Gene A Variance along axis of Gene B

One unique rotation angle will cause variance to maximize on one new axis, while minimizing variance on the orthogonal axis covariance

Dimension Reduction

We could conceivably ignore the projection of minimal variance on the new ordinate and consider only the variance along the new abscissa, now the new ‘main’ axis. Doing so would result in a single axis, having reduced the dimension from 2 to 1, a much less complex system

Here is a 3-D case.

There is a great

deal of covariance

covariance

In classical statistical regression in a general linear model, one regresses a line on the data such that the least squared distance, in 3 dimensions, between the data points and the

line is minimized.

The regression line does not necessarily pass along the maximum variance of all axes

OBJECTIVE

  • Original data (vectors) lie in an N-dimensional vector space spanned by an orthonormal basis - EACH AXIS REPRESENTS A VARIABLE
  • Find a new orthonormal (orthogonal and normalized) basis for the same data (vectors) - FIND A NEW SET OF VARIABLES (AXES)
  • Select the new basis s.t. the variance of the projection of data on each new axis is maximized - THE NEW VARIABLES ‘EXPLAIN’ THE UNDERLYING CORRELATIONS BETTER - By definition of ortho normal, each of the axes is independent of the others

Finding a New Basis: A Linear Transform

  • 1933 Hotelling: Principal Components
  • 1946 Karhunen
  • 1953 Loeve
  • 1967 Lumley: Proper Orthogonal Decomposition
  • 1983 Golub and Van Loen: Singular Value Decomposition 1 1 11 1 21 1 31 1 1 2 2 12 2 22 2 32 2 2 3 3 13 3 23 3 33 3 3 1 2 3 n n n m m n m n m n m nn y x v x v x v x v y x v x v x v x v y x v x v x v x v y x v x v x v x v                     Old axes { X 1 , X 2 , X 3 ,…. X n} New axes { y 1 , y 2 , y 3 ,…. y n} Transformation Matrix V The Transformation: Write every axis in the new system as a linear combination of the old axes, with every new axis orthogonal, and || v n|| = K-L transformation
  • Strategy: we need to find a linear transform that will yield a new set of axes such that the data across axes are uncorrelated (covariance=0) in the new basis.
  • Approach: In a covariance matrix, diagonal elements represent variance; off- diagonal elements represent covariance. We want the off-diagonal elements to be zero in the covariance matrix of the transformed data (thus we will have no correlated data after transformation). We will seek that desired structure first by recognizing that the structure we seek is a diagonal matrix, that is, a matrix whose values lie along the main diagonal and all off-diagonal elements are 0.

Finding the transformation

The Computational Problem

Find a new basis (there are an infinite number)

which

  • maximizes the variance on each dimension
    • guarantees the orthogonality There is only one basis satisfying the two conditions. Plan: Exploit the properties of diagonalization in linear algebra

JUMPING TO THE ANSWER

The coefficients* to generate the first new, derived variable (principal component) are the elements of the eigenvector* (associated with the largest eigenvalue ) of the covariance matrix. Likewise for the second largest eigenvalue and its associated eigenvector, etc. The original data are multiplied by this eigenvector matrix, transforming them in terms of more meaningful variables The eigenvalues of the covariance matrix of the original data

tell us the new variance in each new axis (variable or

principal component)

*Called ‘factor loading’ in the Psychology literature

Why would all this be?

  • The concept underlying this development is to

look at just one vector in the required transform

matrix, and just one element in the required new

data vector, and to maximize the variance of the

element, while at the same time making the new

vector normal.

  • One this is accomplished, the process can be

generalized to all vectors in the transformation

matrix and all elements in the new data vector