Man pages for hahmmr
Haplotype-Aware Hidden Markov Model for RNA

acen_hg19centromere regions (hg19)
acen_hg38centromere regions (hg38)
analyze_alleleAnalyze allele profile
analyze_jointAnalyze allele and expression profile
annot_cmAnnotate genetic distance between markers
annot_segsAnnotate copy number segments after HMM decoding
approx_phi_postLaplace approximation of the posterior of expression fold...
approx_theta_post_s2Find optimal theta of a CNV segment using forward-backward;...
approx_theta_post_s3Find optimal theta of a chromosome using forward-backward;...
bulk_exampleexample pseudobulk dataframe
calc_allele_lik_s2Calculate allele likelihoods for 2-state allele HMM
calc_allele_lik_s3Calculate allele likelihoods for 3-state allele HMM
calc_allele_LLRCalculate LLR for an allele HMM
calc_exp_LLRCalculate LLR for an expression HMM
calc_trans_mat_s15Calculate the transition matrix for 15-state joint HMM
calc_trans_mat_s7Calculate the transition matrix for 7-state joint HMM
check_colsCheck if columns are present in dataframe
check_matrixCheck the format of a count matrix
chrom_sizes_hg19chromosome sizes (hg19)
chrom_sizes_hg38chromosome sizes (hg38)
classify_allelesclassify alleles using viterbi and forward-backward
combine_bulkCombine allele and expression pseudobulks
dbbinomBeta-binomial distribution density function A distribution is...
df_allele_exampleexample allele count dataframe
dpoilogReturns the density for the Poisson lognormal distribution...
filter_genesfilter for mutually expressed genes
fit_gammafit gamma maximum likelihood
fit_lnpois_cppFit MLE of log-normal Poisson model
fit_ref_sseFit a reference profile from multiple references using...
forward_back_alleleForward-backward algorithm for allele HMM
gaps_hg19genome gap regions (hg19)
gaps_hg38genome gap regions (hg38)
gene_counts_exampleexample gene expression counts matrix
generate_postfixGenerate alphabetical postfixes
get_allele_bulkAggregate into pseudobulk alelle profile
get_allele_hmm_s2Make a 2-state allele HMM - no transitions to netural state
get_allele_hmm_s3Make a 3-state allele HMM - allow transitions to netural...
get_bulkProduce combined bulk expression and allele profile
get_exp_bulkAggregate into bulk expression profile
get_trans_probs_s15Helper function to calculate transition porbabilities for...
get_trans_probs_s7Helper function to calculate transition porbabilities for...
gtf_hg19gene model (hg19)
gtf_hg38gene model (hg38)
gtf_mm10gene model (mm10)
l_bbinomcalculate joint likelihood of allele data
likelihood_alleleOnly compute total log likelihood from an allele HMM
l_lnpoiscalculate joint likelihood of a PLN model
logSumExplogSumExp function
plot_bulksPlot a group of pseudobulk HMM profiles
plot_psbulkPlot a pseudobulk HMM profile
pre_likelihood_hmmHMM object for unit tests
ref_hcareference expression magnitudes from HCA
ref_hca_countsreference expression counts from HCA
run_allele_hmm_s3Run a 3-state allele HMM
run_allele_hmm_s5Run a 5-state allele-only HMM - two theta levels
run_joint_hmm_s15Run 15-state joint HMM on a pseudobulk profile
run_joint_hmm_s7Run 7-state joint HMM on a pseudobulk profile
segs_exampleexample CNV segments dataframe
smooth_segsSmooth the segments after HMM decoding
switch_prob_cmpredict phase switch probablity as a function of genetic...
theta_hat_segEstimate of imbalance level theta in a segment
vcf_metaexample VCF header
viterbi_alleleViterbi algorithm for allele HMM
viterbi_jointViterbi algorithm for joint HMM, can only handle one set of...
viterbi_joint_matGeneralized viterbi algorithm for joint HMM, can handle...
hahmmr documentation built on Oct. 26, 2023, 1:08 a.m.