bioinformatics 4

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/28

encourage image

There's no tags or description

Looks like no tags are added yet.

29 Terms

1
New cards

What is the pacakge used for statistical tests in RNAseq analysis and what larger package is it from

DeSeq2

2
New cards

_ represens RNA profiling data from microarrays or sequencing experiment

SummarizedExperiment

3
New cards

Bioconductor uses _ objects which enforces what? How do you access attributes in these sheets

S4; enforces strict strucutres, data types, safety rules.

To access attributes:


To access defined attiributes called slots:

object@slotname or slot (object, slotname)

4
New cards

What are some difficulties in finding the “true expression” of a gene

technical and biological variability

5
New cards

Describe the common bioconductor objects for DNA/AA/genomic gcoordinates/RNAseq

DNA: DNAStringSet

AA: AAStringSet

GRanges: genomic coordinates to represent annotations

SummarizedExperiment: To represent RNA profiling data (sequencing/microarray

6
New cards

Describe the steps of differential expression analysis

read counts associated w genes → normalization → unsupervised clustering analysis → modeling raw counts for each gene → shrinking log2fold changes → testing for differential expression

7
New cards

What is the purpose of shrinking log2fold changes and correcting p values?

Shrinking log2fold changes: adjusts for foldcange of noisy genes and avoids large FC for weakly expressed genes

correcting p values: needed to correct for multiple hypothesis testing. required to correct for alse discovery rate (FDR) because if you use raw p value threshold of p<0.05 5% of tests will show as significant by change. Correct w benjamin-hochberg correction

8
New cards

What is dispersion

estimate of within group variability of gene expression (variation btn replicates)

9
New cards

what are some clustering strategies?

heatmap

hierarchical clustering

correlation plot

PCA

10
New cards

What is the purpose of clustering?

create order, reduce complexity, group observations for a summary

11
New cards

types of clustering?

supervised: aka classification. Used if you already know what the classes are, just need to figure out how to separate them

unsupervised: to discover new patterns in data

12
New cards

What is the strategy for supervised clustering?

Start with labeled data

Training phase: use labeled data to train a model. Model learns the relationship btn data points and their labels

clustering phase: apply trained models to partition new dasta into clusters

13
New cards

Examples of supervised algorithms

decision tree, random forest, support vector machine, k nearest neighbors

14
New cards

What is support vector machines (SVM)

Defines the hyperplane that maximizes the margins between the classes.

Can make complex nonlinear decision boundaries

Intended for binary classification

<p>Defines the hyperplane that maximizes the margins between the classes. </p><p>Can make complex nonlinear decision boundaries</p><p>Intended for binary classification</p>
15
New cards

KNN does/doesn’t create an explicit model

doesn’t

16
New cards

Pros and cons of supervised learning

Pros: can be highly accurate with enough training data, easy to implement

Downsides: requires unbiased and well-distributed training data and labels. Risk of overfitting, no new insights

17
New cards

What is the strategy of unsupervised learning

start with unlabeled data

measure dsitance between points to assess similarity

apply a clustering algorithm to group points based on distance measure

evaluate quality of clusters by within cluster distance

18
New cards

Examples of unsupervised clustering

k means clustering, hierarchical clustering, PCA

19
New cards

What kind of plot can determine # of clusters in k means clustering. What is on the y axis?

elbow plot. WCSS(within cluster sum of squares. Sum of squared distances from cluster centroids to the cluster points

<p>elbow plot. WCSS(within cluster sum of squares. Sum of squared distances from cluster centroids to the cluster points</p>
20
New cards

Some drawbacks of kmeans?

number of clusters predetermined

can be slow to converge

difficult to interpret, getting clusters doesn’t mean anything

21
New cards

What are the two ways of measuring distance in hierarchical clustering? What about measuring correlation?

Measuring distance

euclidian (most common): square root of the sm of the square differences

manhattan: sum of differences


Measuring correlation:

pearson: measures strength of a straight line linear relationship

spearman rank. Measures non-linear relationships

<p>Measuring distance</p><p>euclidian (most common): square root of the sm of the square differences</p><p>manhattan: sum of differences</p><p></p><p>Measuring correlation: </p><p>pearson: measures strength of a straight line linear relationship</p><p>spearman rank. Measures non-linear relationships</p>
22
New cards

Cons of hierarchical clustering

Different choices in distance measure or linkage can lead to different outcomes

Hierarchy is implied even if not appropriate

no backtracking, time consuming

23
New cards

What is the strategy for PCA?

Minimize the sum of squares of the residual distances to find the axis that best explains the data spread: principal component

24
New cards

What plot can be used to determine number of components

scree plot. Y axis: eigenvalue

<p>scree plot. Y axis: eigenvalue</p>
25
New cards

What plot can be used to show contributsion of various dimension of new components?

loading plot

<p>loading plot </p>
26
New cards

Pros and cons of PCA

Pros: one unique solution, fast to compute, gives insight in main contributing factor and weights

Drawbacks; data needs to be scaled/ Clustering can’t handle missing observations, tradeoff btn info loss and dimensionality reduction, not good at visualizing all datasets

27
New cards

What are some methods for dimensionality reduction that are good for visualization

tSNE and UMAP

28
New cards

What is the main parameter for tSNE?

Perplexity: how many neighbors are expected. Higher perplexity, longer computation time.

Its a tuneable parameter that corresponds to the effective nearest neighbors considered when evaluating data

Affects distance between btn clusters which aren’t interpretable

29
New cards

Cons of tSNE and UMAP

nonlinear. interpretation of distance from plots not possble

cluster size and spread not interpretable

visualization methods rather than clustering methods