fit_hm_model: Convenient wrapper to fit Hidden-Markov Model to single...

Description Usage Arguments Value

View source: R/utils_hm-cp-analysis.R

Description

Provides a convenient wrapper to setup and fit an HM-Model to single molecule myosin trapping data.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
fit_hm_model(
  trap_data,
  run_mean,
  run_var,
  use_channels,
  em_random_start,
  is_shiny,
  project,
  conditions,
  date,
  obs
)

Arguments

trap_data

trap-data.csv

run_mean

running mean

run_var

running variance

em_random_start

TRUE/FALSE

is_shiny

TRUE/FALSE

Value

a list of two. 1) a table with running mean, variance, and hm-model identified state. 2) variance signal-to-noise.


brentscott93/lasertrapr documentation built on Jan. 15, 2022, 8:21 p.m.