Skip to content

Commit

Permalink
Merge branch 'ar/dmr-docstrings' into 'master'
Browse files Browse the repository at this point in the history
[dmr] Add missing help strings to dmr pair.

See merge request machine-learning/modkit!150
  • Loading branch information
ArtRand committed Mar 5, 2024
2 parents b2d6f2c + 6e795c2 commit 5dcb977
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions src/dmr/subcommands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,25 @@ pub struct PairwiseDmr {
/// coverage.
#[arg(long, alias = "min-coverage", default_value_t = 0)]
min_valid_coverage: u64,
#[arg(long, num_args = 2, conflicts_with = "regions_bed")]
/// Prior distribution for estimating MAP-based p-value. Should be two
/// arguments for alpha and beta (e.g. 1.0 1.0). See
/// `dmr_scoring_details.md` for additional details on how the metric
/// is calculated.
#[arg(
long,
num_args = 2,
conflicts_with = "regions_bed",
hide_short_help = true
)]
prior: Option<Vec<f64>>,
#[arg(long, default_value_t = 0.05, conflicts_with = "regions_bed")]
/// Consider only effect sizes greater than this when calculating the
/// MAP-based p-value.
#[arg(
long,
default_value_t = 0.05,
conflicts_with = "regions_bed",
hide_short_help = true
)]
delta: f64,
/// Sample this many reads when estimating the max coverage thresholds.
#[arg(
Expand Down

0 comments on commit 5dcb977

Please sign in to comment.