| DiffPropTest | R Documentation |
Performs statistical testing to identify transcripts with significantly different proportions between conditions in specified fraction(s). Implements three test options: GLM (most powerful), Logit, and Wald.
DiffPropTest(NormObject, Conditions, Types, Test = c("GLM", "Logit", "Wald"))
NormObject |
Output from FracFixR() function |
Conditions |
Character vector of exactly 2 conditions to compare |
Types |
Character vector of fraction type(s) to analyze. Can be single fraction or multiple (will be combined) |
Test |
Statistical test to use: "GLM", "Logit", or "Wald" |
GLM: Uses binomial generalized linear model (most statistically powerful)
Logit: Faster alternative using logit transformation
Wald: Beta-binomial Wald test for overdispersed count data
Data frame with columns:
transcript: transcript identifier
mean_success_cond1/2: mean proportions in each condition
mean_diff: difference in proportions
log2FC: log2 fold change
pval: p-value from statistical test
padj: FDR-adjusted p-value
data(example_counts)
data(example_annotation)
# Run FracFixR
results <- FracFixR(example_counts, example_annotation, parallel=FALSE)
# Run differential testing
diff_results <- DiffPropTest(results,
Conditions = c("Control", "Treatment"),
Types = "Heavy_Polysome",
Test = "GLM")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.