All functions |
|
---|---|
Detects relationships between beta-binomial parameters (pi, theta) and independent variables |
|
Combines SNP-level dAD results to gene-level. |
|
Estimate sequencing error rate and inbreeding using an Expectation-Maximisation algorithm |
|
multi-locus wrapper function of AllelicMeta_est |
|
multi-locus wrapper function of EMfit_betabinom_robust for the purpose of genotyping |
|
Beta-binomial mixture model log-likelihood derivatives to its parameters involved in optimization |
|
Beta-binomial mixture model log-likelihood derivatives to its parameters involved in optimization |
|
Performs an exact beta-binomial p-test |
|
UNUSED |
|
Combine p-values of SNPs per gene. |
|
Optimizer for pi, theta_control, and theta_case, for heterozygous samples in the differential control-case beta-binomial mixture fit using expectation-maximization |
|
Optimizer for theta for heterozygous samples assuming a fixed pi parameter in the beta-binomial mixture fit using expectation-maximization |
|
Optimizer for pi, theta for heterozygous samples in the beta-binomial mixture fit using expectation-maximization |
|
Optimizer for theta for homozygous samples in the beta-binomial mixture fit using expectation-maximization |
|
Performs a differential Allelic Dispersion analysis on a control- and case-dataset |
|
Exact beta-binomial density using sums. |
|
Exact beta-binomial density using a multiprecision library. |
|
dBetaBinom implementation for internal use by C++ |
|
dBetaBinom implementation for internal use by C++, accounting for numerical precision problems via increased memory usage (number of bits per number) |
|
The Beta-binomial distribution |
|
Models allelic RNAseq counts using an expectation-maximization fit of a beta-binomial mixture distribution |
|
Models and estimates the allelic shift for cis-eQTL data, using beta-binomial models. |
|
Models allelic RNAseq counts using a robust expectation-maximization fit of a beta-binomial mixture distribution |
|
Models allelic RNAseq counts using an expectation-maximization fit of a beta-binomial mixture distribution, allowing slight deviations in the Sequencing Error (SE) metaparameter. |
|
Models allelic RNAseq counts using an expectation-maximization fit of a binomial mixture distribution |
|
Final filtering of maelstRom analysis results and writing to output files |
|
Goodness-of-fit test comparing data following a uniform distribution to a Hardy-Weinberg distribution. |
|
Beta-binomial second-order derivative with respect to its pi parameter (twice); for internal use by C++ |
|
Beta-binomial second-order derivative with respect to its pi parameter (twice); for internal use by C++, accounting for numerical precision problems via increased memory usage (number of bits per number) |
|
Beta-binomial second-order derivative with respect to its pi parameter (once) and theta-parameter (once); for internal use by C++ |
|
Beta-binomial second-order derivative with respect to its pi parameter (once) and theta-parameter (once); for internal use by C++, accounting for numerical precision problems via increased memory usage (number of bits per number) |
|
Beta-binomial gradient with respect to its pi parameter; for internal use by C++ |
|
Beta-binomial gradient with respect to its pi parameter; for internal use by C++, accounting for numerical precision problems via increased memory usage (number of bits per number) |
|
Beta-binomial second-order derivative with respect to its theta-parameter (twice); for internal use by C++ |
|
Beta-binomial second-order derivative with respect to its theta-parameter (twice); for internal use by C++, accounting for numerical precision problems via increased memory usage (number of bits per number) |
|
Beta-binomial gradient with respect to its theta parameter; for internal use by C++ |
|
Beta-binomial gradient with respect to its theta parameter; for internal use by C++, accounting for numerical precision problems via increased memory usage (number of bits per number) |
|
Beta-binomial gradient with respect to its pi parameter |
|
Exact gradient of the beta-binomial log-likelihood function for pi using a multiprecision library. |
|
Exact gradient of the beta-binomial log-likelihood function for pi using sums. |
|
Beta-binomial second-order derivative with respect to its pi parameter (twice) |
|
Beta-binomial second-order derivative with respect to its pi parameter (once) and theta-parameter (once) |
|
Beta-binomial gradient with respect to its theta parameter |
|
Exact gradient of the beta-binomial log-likelihood function for theta using a multiprecision library. |
|
Exact gradient of the beta-binomial log-likelihood function for theta using sums. |
|
Beta-binomial second-order derivative with respect to its theta-parameter (twice) |
|
Chi-squared test assessing the Hardy-Weinberg assumption. |
|
Estimate the degree of imprinting. |
|
multi-locus wrapper function for imprinting detection and loss-of-imprinting analysis |
|
Returns parameter- and likelihood-distances based on leave-on-out (case-deletion) MLE's of |
|
Internal helper function for TumPur_LogLik_CPP when NumIntMethod == "GaussianQuad" |
|
Internal helper function for TumPur_LogLik_CPP when NumIntMethod == "NewtonCotes" |
|
Returns an (approximate) log of a sum based on individual logs of the terms being summed |
|
Returns an (approximate) log of a sum based on individual logs of the terms being summed, but can include negative terms (see further) |
|
Returns an (approximate) log of a sum based on individual logs of the terms being summed |
|
Returns an (approximate) log of a sum based on individual logs of the terms being summed |
|
Internal helper function for TumPur_LogLik_CPP when NumIntMethod == "TanhSinhQuad" |
|
Internal helper function for TumPur_LogLik_CPP when NumIntMethod == "Gregory" |
|
Logistic regression on the degree of heterozygosity between cases and controls |
|
Call LOI samples over al imprinted loci. |
|
maelstRom: A package for RNAseq-based allelic analyses |
|
Make a plot summarizing allelic divergence (-related phenomena) across a chromosome |
|
Plots the result of maelstRom's beta-binomial mixture EM-fit. |
|
Plot maelstRom's imprinting detection results. |
|
Calculates the median allelic bias |
|
Calculate median imprinting. |
|
Calculates moment estimates for the beta-binomial parameters given observed data |
|
Similar to MomentEst_MixedBetaBinom, but allowing for slack on the SE parameter (see EMfit_betabinom_SEslack) |
|
Helper function for GradThetaTheta_cppi |
|
Calculate multinomial coefficient(s). |
|
UNUSED test function for C++ driven numeric optimization |
|
Probability Mass Function of the beta-binomial mixture distribution modeling population-level RNAseq data |
|
This function is a work in progress. As such, it is not exported yet; but it allows for some leniency on the sequencing error parameter, hence "SESlack" |
|
Probability Mass Function of the binomial mixture distribution modeling population-level RNAseq data |
|
Probability Mass Function for an imprinted SNP. |
|
Prior filtering of loci. |
|
UNUSED alternative implementation of the qbeta funtion |
|
UNUSED alternative implementation of the qbeta funtion |
|
Determine standard alleles of SNP positions. |
|
Goodness-of-fit test for symmetry. |
|
Internal helper function for TumPur_LogLik_CPP |
|
Internal helper function for TumPur_LogLik_CPP |
|
|
Various implementations of the tumor-purity-accounting (negative) log likelihood (sum of completely correlated beta-binomials) |