1 of 83

Vector and Representations�The Dance of the Eigenworm

Quantitative Biology Bootcamp

Fall 2026

2 of 83

Vectors and Representations

3 of 83

Newton and the Representation of Functions by Polynomials or Infinite Series: Replacing Functions by a Few Numbers!

4 of 83

We Are Accustomed to Viewing the Earth as a Mercator Projection, but It Is a Representation

https://www.worldatlas.com/geography/world-map-mercator-projection.html

Greenland:

2.2 x 106 km2

​

​

​

Continental US:

8 x 106 km2

​

5 of 83

A Representation Based on the Earth’s Oceans: The Spilhaus-Adams Projection

https://blog.map-projections.net/spilhaus-projections-a-quintet-of-world-ocean-maps

6 of 83

Though Different Choices of Our Coordinates Are

“Equivalent” in Their Answers, Not in Their Psychology

7 of 83

We Also Often Use Fourier Series as a Representation of a Function

8 of 83

We Can Represent the Deformation of a Material Using the Strain Tensor

9 of 83

Representing the Discrete by the Continuous - One of the Greatest Intellectual Achievements of Mathematics and Science!

10 of 83

Representing Networks by Graphs

11 of 83

Representing Functions on a Computer Using

Extremely Simple Shape or Basis Functions

Represent function as weighted sum of basis functions

12 of 83

We Have Many Ways of Representing Ourselves! I Find It Strange How Often People Accept a Scalar Order Parameter

13 of 83

Generalizing Our Concept of Vector:

Often, Our Representations Are Vectors

14 of 83

The Math of Vectors

15 of 83

My Claim: We Need to Find a Way to Understand Our Vectors

(Berman et al.)

16 of 83

Images as Vectors

17 of 83

`

(Berman et al.)

Transcriptome as a Vector

18 of 83

`

(Berman et al.)

Shape as a Vector

19 of 83

Allele Frequencies as Vectors

20 of 83

Ceres Is Between Mars and Jupiter

(Berman et al.)

These two views of Ceres were acquired on Feb. 12, 2015 from a distance of roughly 80,000 kilometers. The two images capture the dwarf planet ten hours apart, making it possible to see different aspects due to its rotation. Images: NASA/JPL–Caltech/UCLA/MPS/DLR/IDA.

21 of 83

Legendre on an Astronomical Problem Too - The Method of Least Squares

(Berman et al.)

22 of 83

Gauss’ Invents Least Squares Too

(Berman et al.)

23 of 83

Least Squares as an Estimation of a Two-Dimensional Vector

(Berman et al.)

24 of 83

Finding the Right Representation

25 of 83

Key Idea: Finding the “Right” Coordinates

26 of 83

Theoretical Models Can Successfully Predict Bacterial Transcriptional Regulation

Garcia and Phillips, PNAS (2011);

Brewster et al., Cell (2014); Weinert et al., PRL (2014)

Rob

Phillips

27 of 83

Querying the Transcriptome

28 of 83

Querying the Transcriptome at the Single Cell Level

29 of 83

The Single-Cell Sequencing Revolution

  • 44,494 cells and 10,000 genes measures
  • How do you reduce this 10,000 dimensional data to 2 dimensions?
  • How do you identify cell types?

The Tabula muris project

30 of 83

Transcriptomes Really Force Us to Come to Terms With the Question of Natural Coordinates

(Berman et al.)

31 of 83

Estimate: The Cost of the Dataset

(Berman et al.)

32 of 83

The Cost of the Dataset

(Berman et al.)

33 of 83

Cellular Decisions Are Often Driven by a Handful of Genes

34 of 83

Our Toy Model: 2D Synthetic Transcriptome

35 of 83

A Two Gene Transcriptome!

36 of 83

Identifying Cell Types in a 2D Synthetic Transcriptome

37 of 83

Finding the Right Coordinate System to Describe Our Data

38 of 83

Finding the Natural Coordinates of the 2D Synthetic Transcriptome

39 of 83

Using PCA for Dimensional Reduction - Building a New “Reduced” Theory

(Berman et al.)

40 of 83

The Eigenvalues Report on the Spread of the Data Along Each Dimension

41 of 83

The Error in a Reduced Description of Our System

42 of 83

The 3D Synthetic Transcriptome

43 of 83

Finding the Natural Coordinates of Our Synthetic Transcriptome

44 of 83

Dimensionality Reduction�Most of the Relevant Information Lives on a Plane

45 of 83

The Error in a Reduced Description of Our System

46 of 83

Homework�Adding Downstream Genes

47 of 83

Homework�Adding Downstream Genes

48 of 83

Homework�Adding Downstream Genes

49 of 83

Homework�Adding Noisy, Uncorrelated Genes

50 of 83

A More Common Definition of PCA

51 of 83

A Simple Synthetic Transcriptome

  • Each gene is driven by a constitutive promoter with low/high expression levels of 15/30 mRNA per cell

52 of 83

Finding Cell Types in the Transcriptome Using k-means Clustering

53 of 83

Finding the Right Coordinates in a “Mystery” Data Set

54 of 83

An Interlude on Summary Statistics: Every Distribution Has Its Moments

 

55 of 83

Examining the Covariance by Hand as a Function of the Orientation of Coordinates

 

56 of 83

Eigenvectors and Eigenvalues

57 of 83

The Eigenvectors of the Covariance Matrix Define the Normal Modes (or Principal Components)

58 of 83

The “Right” Coordinates Reveal the Natural Variables of the System

59 of 83

A Toy Model From Mechanics of the Key Idea: Finding the “Right” Coordinates for Two Coupled Oscillators

60 of 83

Solving the Coupled Oscillators in a Bad Coordinate System

61 of 83

Finding the “Right” Coordinates

(Berman et al.)

62 of 83

The Question of Shape and the Coordinates of Shape

(Berman et al.)

63 of 83

One of the Main Messages of This Course - Simple Questions From Looking

(Berman et al.)

64 of 83

One of the Main Messages of This Course - Simple Questions From Looking

(Berman et al.)

65 of 83

Visiting Darwin in His Garden

(Berman et al.)

66 of 83

Who Is C. elegans?

(Berman et al.)

67 of 83

Who Is C. elegans?

(Berman et al.)

68 of 83

The Dance of the Worm

(Berman et al.)

This is the “data” - how do we make something of it?

69 of 83

A Truly Beautiful Paper

70 of 83

Getting the Kinematics Right

71 of 83

Quantifying C. elegans Movement and Shape�Turning Images Into a New Kind of “Data”

72 of 83

A Homework Exercise

73 of 83

The Eigenworm!

74 of 83

These Waters Run Even Deeper

75 of 83

(Caltech)

76 of 83

(Caltech)

77 of 83

(Caltech)

78 of 83

These Waters Run Even Deeper

(Berman et al.)

79 of 83

(Caltech)

80 of 83

These Waters Run Even Deeper

(Berman et al.)

81 of 83

Trying to Find the Coordinates of Cell Motion

(Berman et al.)

https://www.facebook.com/mag2artcom/videos/fish-keratocyte-movie/1236883493110342/

82 of 83

Trying to Find the Coordinates of Cell Motion

(Berman et al.)

83 of 83

Using PCA to Find Natural Coordinates?

(Berman et al.)