1/28
Looks like no tags are added yet.
What is the pacakge used for statistical tests in RNAseq analysis and what larger package is it from
DeSeq2
_ represens RNA profiling data from microarrays or sequencing experiment
SummarizedExperiment
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)
What are some difficulties in finding the “true expression” of a gene
technical and biological variability
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
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
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
What is dispersion
estimate of within group variability of gene expression (variation btn replicates)
what are some clustering strategies?
heatmap
hierarchical clustering
correlation plot
PCA
What is the purpose of clustering?
create order, reduce complexity, group observations for a summary
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
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
Examples of supervised algorithms
decision tree, random forest, support vector machine, k nearest neighbors
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

KNN does/doesn’t create an explicit model
doesn’t
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
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
Examples of unsupervised clustering
k means clustering, hierarchical clustering, PCA
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

Some drawbacks of kmeans?
number of clusters predetermined
can be slow to converge
difficult to interpret, getting clusters doesn’t mean anything
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

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
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
What plot can be used to determine number of components
scree plot. Y axis: eigenvalue

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

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
What are some methods for dimensionality reduction that are good for visualization
tSNE and UMAP
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
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