Introduction to Linear Regression

A data scientist's first goal is to find underlying relations within the variables of a dataset. Several statistical and machine learning methods can be used to discover such relations. Once uncovered, this information can be applied to everyday problems. For example, in clinical medicine, a predictive model based on clinical data can help clinicians guide a patient's treatment by offering insights that might not have otherwise been taken into account. Simple linear regression One of the most basic methods available to [...]

Chemical Screen: Evaluating drug sensitivity

The study of the cellular response to a chemical compound is crucial to the development of new therapeutic drugs. Such an analysis is usually done by a screen experiment where the disease-specific cells (such as leukemia primary cells) are exposed to chemical compound for different concentrations. The response, in the form of sensitivity, of these cells is conventionally quantified by the IC50 or the l’EC50. Here are some notions to keep in mind when we analyze these values.  IC50/EC50 : estimate of [...]

By | February 13, 2017|Categories: Data Analysis, Uncategorized|0 Comments

Logistic regression and GTEx

Working with all sorts of data, it happens sometimes that we want to predict the value of a variable which is not numerical. For those cases, a logistic regression is appropriate. It is similar to a linear regression except that it deals with the fact that the dependent variable is categorical. Here is the formula for the linear regression, where we want to estimate the parameters beta (coefficients) that fit best our data : \begin{equation} Y_i = \beta_0 + \beta_1 X_i [...]

By | January 27, 2017|Categories: Bioinformatics, Data Analysis, Python|0 Comments

A javascript implementation of the non-central version of Fisher’s exact test

In a previous post, I presented a case for choosing a non-central version of Fisher's exact test for most of bioinformatics' uses of this test. I will now present an implementation of this test in javascript that could easily be embedded in web interfaces. Although javascript is probably the least likely language to implement statistical methods, I hope this article will fill in as many details as possible to make it trivial to port it to other languages if the need arises. At [...]

By | January 13, 2017|Categories: Statistics, Test|0 Comments

SNP Filtering with pyGeno

Looking over the contents of our growing blog (good job guys !), it occured to me that we had not yet posted an article pertaining to the fantastic (and homegrown !) bioinformatics resource that is pyGeno. It turns out I need to use pyGeno to generate data and it's also my turn to write a blog post, how convenient ! I'll focus the article on writing a SNP filter, which can be a bit surprising the first time you try [...]

By | December 9, 2016|Categories: Bioinformatics, Python|0 Comments