lecture 1: introduction to data mining for bioinformatics fall 2005 peter van der putten...

50
Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Post on 18-Dec-2015

219 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Lecture 1:Introduction to Data Mining

for Bioinformatics

Fall 2005Peter van der Putten(putten_at_liacs.nl)

Databases and Data Mining

Page 2: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Course Outline

Date Time Room4-Nov-05 13.45 - 15.30 174   Lecture: Introduction

18-Nov-05 13.45 - 15.30 174   Lecture: Predictive Data Mining15.45 - 17.30 306/308   Practical Assignments

25-Nov-05 13.45 - 15.30 403   Lecture: Descriptive Data Mining & Search2-Dec-05 13.45 - 15.30 174   Lecture: Bioinformatics Data Mining Cases

15.45 - 17.30 306/308   Practical Assignments

• Objective– Understand the basics of data mining– Gain understanding of the potential for applying it in

the bioinformatics domain– Limited hands on experience

• Schedule

• Evaluation– Practical assignment (2nd) plus take home exercise

Page 3: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Agenda Today

• What is data mining?• A short summary of life• Data mining revisited

Page 4: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

What is data mining?

Page 5: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Genomic Microarrays – Case Study

• Problem:– Leukemia (different types of Leukemia cells look very

similar)– Given data for a number of samples (patients), can

we• Accurately diagnose the disease? • Predict outcome for given treatment?• Recommend best treatment?

• Solution– Data mining on micro-array data

Page 6: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Example: ALL/AML data

• 38 training patients, 34 test patients, ~ 7,000 patient attributes (micro array gene data)

• 2 Classes: Acute Lymphoblastic Leukemia (ALL) vs Acute Myeloid Leukemia (AML)

• Use train data to build diagnostic model

ALL AML

Results on test data: 33/34 correct, 1 error may be

mislabeled

Page 7: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Sources of (artificial) intelligence

• Reasoning versus learning• Learning from data

– Patient data– Customer records– Stock prices– Piano music– Criminal mug shots– Websites– Robot perceptions– Etc.

Page 8: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Some working definitions….

• ‘Data Mining’ and ‘Knowledge Discovery in Databases’ (KDD) are used interchangeably

• Data mining = – The process of discovery of interesting, meaningful

and actionable patterns hidden in large amounts of data

• Multidisciplinary field originating from artificial intelligence, pattern recognition, statistics, machine learning, bioinformatics, econometrics, ….

Page 9: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

A short summary of life

Bio Building BlocksBiotech Data Mining Applications

Page 11: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

The Promise….

. . . .

Page 12: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

The Promise….

. . . .

Page 13: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

DNA, Proteins, Cells

Page 14: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

DNA, Proteins, Cells

Page 15: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

From DNA to Proteins

Page 16: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Discovering the structure of DNAJames Watson & Francis Crick

- Rosalind Franklin

Page 17: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

The structure of DNA

Page 18: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

DNA Trivia

• DNA stores instructions for the cell to peform its functions

• Double helix, two interwoven strands• Each strand is a sequence of so called

nucleotides• Deoxyribonucleic acid (DNA) comprises 4

different types of nucleotides (bases): adenine (A), thiamine (T), cytosine (C) and guanine (G)– Nucleotide uracil (U) doesn’t occur in DNA

• Each strand is reverse complement of the other• Complementary bases

– A with T– C with G

Page 19: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

DNA Trivia

• Each nucleus contain 3 x 10^9 nucleotides• Human body contains 3 x 10^12 cells• Human DNA contains 26k expressed genes,

each gene codes for a protein in principle• DNA of different persons varies 0.2% or less• Human DNA contains 3.2 x 10^9 base pairs

X-174 virus: 5,386

– Salamander: 100 109

– Amoeba dubia: 670 109

Page 20: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Primary Protein Structure

• Proteins are built out of peptides, which are poylmer chains of amino acids

• Twenty amino acids are encoded by the standard genetic code shared by nearly all organisms and are called standard amino acids (100 amino acids exist in nature)

Page 21: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Protein Structurefrom Primary to Quaternary

Page 22: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Proteins: 3D Structure

A representation of the 3D structure of myoglobin, showing coloured alpha helices. This protein was the first to have its structure solved by X-ray crystallography by Max Perutz and Sir John Cowdery Kendrew in 1958, which led to them receiving a Nobel Prize in Chemistry. http://en.wikipedia.org/wiki/Protein

Page 23: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Proteins: 3D Structure

Molecular surface of several proteins showing their comparative sizes. From left to right are: Antibody (IgG), Hemoglobin, Insulin (a hormone), Adenylate Kinase (an enzyme), and Glutamine Synthetase (an enzyme).

Page 24: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Proteins: 3D Structure

G Protein-Coupled Receptors (GPCR) represent more than half the current drug targets

Page 25: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

DNA Codes for Proteinsbut Proteins also Control Gene Expression

• Protein regulation occurs at each step of synthesis

Page 26: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Repressor Protein Switching Genes On and Off

Page 27: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Regulatory Protein Coordinating Gene Expression

Page 28: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Importance of Combinatorial Gene Control

• combinations of a few gene regulatory proteins can generate many different cell types during development

Page 29: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Some working definitions….

• Bioinformatics =– Bioinformatics is the research, development, or

application of computational tools and approaches for expanding the use of biological, medical, behavioral or health data, including those to acquire, store, organize, archive, analyze, or visualize such data [http://www.bisti.nih.gov/].

– Or more pragmatic: Bioinformatics or computational biology is the use of techniques from applied mathematics, informatics, statistics, and computer science to solve biological problems [Wikipedia Nov 2005]

Page 30: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

• NCBI Tools for data mining:– Nucleotide sequence analysis– Proteine sequence analysis– Structures– Genome analysis– Gene expression

• Data mining or not?.

Page 31: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Bio informatics and data mining

• From sequence to structure to function• Genomics (DNA), Transcriptomics (RNA), Proteomics

(proteins), Metabolomics (metabolites) Pattern matching and search

• Sequence matching and alignment• Structure prediction

– Predicting structure from sequence– Protein secondary structure prediction

• Function prediction– Predicting function from structure– Protein localization

• Expression analysis– Genes: micro array data analysis etc.– Proteins

• Regulation analysis

Page 32: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Bio informatics and data mining

• Classical medical and clinical studies• Medical decision support tools• Text mining on medical research literature (MEDLINE)• Spectrometry, Imaging• Systems biology and modeling biological systems• Population biology & simulation

• Spin Off: Biological inspired computational learning– Evolutionary algorithms, neural networks, artificial immune

systems

Page 33: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Examples of my related research

• Topology preserving property of self-organizing maps– Neural network for clustering & classification inspired by cortical

maps

• Benchmarking Artificial Immune Systems• Predicting throat cancer survival rate

– Value of fusing data from various sources for this purpose

• Automated recognition of sick yeast cells in images (with prof. Verbeek)

• Recommender systems in bioinformatics– Amazon.com style recommendations

Peter van der Putten
Aanpassen
Page 34: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Data mining revisited

Page 35: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Some working definitions….

• ‘Data Mining’ and ‘Knowledge Discovery in Databases’ (KDD) are used interchangeably

• Data mining = – The process of discovery of interesting, meaningful and

actionable patterns hidden in large amounts of data

• Multidisciplinary field originating from artificial intelligence, pattern recognition, statistics, machine learning, bioinformatics, econometrics, ….

Page 36: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Some working definitions….

• Concepts: kinds of things that can be learned– Aim: intelligible and operational concept description– Example: the relation between patient characteristics

and the probability to be diabetic

• Instances: the individual, independent examples of a concept– Example: a patient, candidate drug etc.

• Attributes: measuring aspects of an instance– Example: age, weight, lab tests, microarray data etc

• Pattern or attribute space

Page 37: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Data mining tasks

• Predictive data mining– Classification: classify an instance into a category– Regression: estimate some continuous value

• Descriptive data mining– Matching & search: finding instances similar to x– Clustering: discovering groups of similar instances– Association rule extraction: if a & b then c– Summarization: summarizing group descriptions– Link detection: finding relationships– …

Page 38: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Data Mining Tasks: Search

f.e. age

f.e.

wei

ght

Finding best matching instances

Every instance is a point in pattern space. Attributes are the dimension of an instance, f.e. Age, weight, gender etc.

Pattern spaces may be high dimensional (10 to thousands of dimensions)

Page 39: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Data Mining Tasks: Clustering

f.e. age

f.e.

wei

ght

Clustering is the discovery of groups in a set of instances

Groups are different, instances in a group are similar

In 2 to 3 dimensional pattern space you could just visualise the data and leave the recognition to a human end user

Page 40: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Data Mining Tasks: Clustering

f.e. age

f.e.

wei

ght

Clustering is the discovery of groups in a set of instances

Groups are different, instances in a group are similar

In 2 to 3 dimensional pattern space you could just visualise the data and leave the recognition to a human end user

In >3 dimensions this is not possible

Page 41: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Data Mining Tasks: Classification

age

weig

ht

Goal classifier is to seperate classes on the basis of known attributes

The classifier can be applied to an instance with unknow class

For instance, classes are healthy (circle) and sick (square); attributes are age and weight

Page 42: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Examples of Classification Techniques

• Majority class vote• Machine learning & AI• Decision trees• Nearest neighbor• Neural networks• Genetic algorithms / evolutionary computing• Artificial Immune Systems• Good old statistics• …..

Page 43: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Example Classification Algorithm 1Decision Trees

20000 patients

age > 67

18800 patientsgender = male?

1200 patientsWeight > 85kg

800 customersDiabetic (%10) etc.400 patients

Diabetic (%50)

no

noyes

yes

no

Page 44: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Decision Trees in Pattern Space

age

weig

ht

Goal classifier is to seperate classes (circle, square) on the basis of attribute age and income

Each line corresponds to a split in the tree

Decision areas are ‘tiles’ in pattern space

Page 45: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Example classification algorithm 3:Neural Networks

• Inspired by neuronal computation in the brain (McCullough & Pitts 1943 (!))

• Input (attributes) is coded as activation on the input layer neurons, activation feeds forward through network of weighted links between neurons and causes activations on the output neurons (for instance diabetic yes/no)

• Algorithm learns to find optimal weight using the training instances and a general learning rule.

invoer:bvb. klantkenmerken

uitvoer:bvb. respons

Page 46: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

• Example simple network (2 layers)

• Probability of being diabetic = f (age * weightage + body mass index * weightbody mass index)

Neural Networks

Weightbody mass index

Probability of being diabetic

age body_mass_index

weightage

Page 47: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Neural Networks in Pattern Space

Classification

f.e. age

f.e.

wei

ght

Simpel network: only a line available (why?) to seperate classes

Multilayer network:

Any classification boundary possible

Page 48: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Descriptive data mining:association rules

• Discovery of interesting patterns• Rule format: if A (and B and C etc) then Z• Example:

– If customer buys potatoes (A) and sauerkraut (B) then customer buys sausage (Z)

• Important measures– Support condition: how often do potatoes and sauerkraut occur

together (A,B)– Confidence rule: how often do sausages then occur / support

conditions (is A,B C always true?)

• Could be used for instance for mining gene expression data

Page 49: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

Quiz Question

Page 50: Lecture 1: Introduction to Data Mining for Bioinformatics Fall 2005 Peter van der Putten (putten_at_liacs.nl) Databases and Data Mining

What have we learned today

• An introduction into applying data mining for bioinformatics

• A short history of life• Basic data mining concepts