calculate_polya_stats | R Documentation |
Takes polyA predictions table as input and checks if there is significant difference in polyA lengths between chosen conditions for each transcript. By default, Wilcoxon Rank Sum (wilcox.test) test is used.
calculate_polya_stats(
polya_data,
transcript_id_column = "transcript",
min_reads = 0,
grouping_factor = "sample_name",
condition1 = NA,
condition2 = NA,
stat_test = "Wilcoxon",
alpha = 0.05,
add_summary = TRUE,
length_summary_to_show = "gm_mean",
...
)
polya_data |
input table with polyA predictions |
transcript_id_column |
|
min_reads |
minimum number of reads to include transcript in the analysis |
grouping_factor |
which column defines groups (default: sample_name) |
condition1 |
if |
condition2 |
if |
stat_test |
what statistical test to use for testing, currently supports "Wilcoxon" (for wilcox.test), "KS" (for ksTest from FSA package) or "glm" (for glm) |
alpha |
|
add_summary |
|
length_summary_to_show |
|
... |
|
summary table with pvalues and median/mean values associated to each transcript
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.