dot-polya_stats: Calculates polyA statistics for single group of reads (for...

.polya_statsR Documentation

Calculates polyA statistics for single group of reads (for single transcript)

Description

Calculates polyA statistics for single group of reads (for single transcript)

Usage

.polya_stats(
  polya_data,
  stat_test,
  grouping_factor,
  min_reads = 0,
  use_dwell_time = FALSE,
  custom_glm_formula = NA
)

Arguments

polya_data
  • input data frame with polyA predictions

stat_test
  • statistical test to use. One of : Wilcoxon, KS (Kolmogorov-Smirnov) or glm (Generalized Linear Model). All tests use log2(polya_length) as a response variable

grouping_factor
  • factor defining groups (Need to have 2 levels)

min_reads
  • minimum reads per group to include in the statistics calculation

use_dwell_time
  • use dwell time instead of calculated polya length for statistics

custom_glm_formula
  • custom glm formula (when using glm for statistics)

Value

data frame


smaegol/nanotail documentation built on June 29, 2024, 12:35 a.m.