lrTestBias: lrTestBias

Description Usage Arguments Details Value Examples

View source: R/Run_pathwaysplice.R

Description

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.

Usage

1
lrTestBias(genewise.table, boxplot.width = 0.1)

Arguments

genewise.table

A dataframe with genewise p-value for each gene, returned from makeGeneTable()

boxplot.width

width of boxplot

Details

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 genewise.table

Value

Nothing to be returned

Examples

1
2
gene.based.table <- makeGeneTable(featureBasedData)
lrTestBias(gene.based.table)

PathwaySplice documentation built on April 28, 2020, 7:44 p.m.