This function tests presence of selection bias using logistic regression, and produces a boxplot that compares distributions of bias factors (e.g. number of exons) for significant genes and non-significant genes.
lrTestBias(genewise.table, boxplot.width = 0.1)
A dataframe with genewise p-value for each gene, returned from
width of boxplot
To determine presentce of selection bias, we fit the following logistic regression model:
Pr(a gene is significant) ~ number of features within the gene
Here features refer to exon bins or splicing junction bins, depending on
how genewise pvalues were obtained in the
Nothing to be returned
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.