MACS3.Signal.HMMR_HMM module

Module description:

This code is free software; you can redistribute it and/or modify it under the terms of the BSD License (see the file LICENSE included with the distribution).

MACS3.Signal.HMMR_HMM.get_weighted_density(x, m, v, w)

Description:

Parameters:
  • x (1.) – the observed value

  • m (2.) – the mean of gaussian

  • v (3.) – the variance of the gaussian

  • w (4.) – the weight

Return type:

typedef

return value:

MACS3.Signal.HMMR_HMM.hmm_model_init(model_file)
Return type:

list

MACS3.Signal.HMMR_HMM.hmm_model_save(model_file, hmm_model, hmm_binsize, i_open_region, i_nucleosomal_region, i_background_region, hmm_type)
MACS3.Signal.HMMR_HMM.hmm_predict(signals, lens, hmm_model)
MACS3.Signal.HMMR_HMM.hmm_training(training_data, training_data_lengths, n_states=3, random_seed=12345, covar='full', hmm_type='gaussian')