Man pages for mccoy-lab/rhapsodi
R haploid sperm/oocyte data imputation

betaregmodel_20220718Trained beta regression model for automatic phasing window...
build_hmmBuild a model to assign haplotypes to each gamete
calculate_window_sizeA function to automatically calculate a preferred window size...
cbind_posThis function adds an index and a pos column to dataframes
dataACGTSimulated Sperm-seq data A/C/G/T/NA encoded
discover_meiotic_recombinationA function to drive and report meiotic recombination...
export_dataA function to export the data from rhapsodi
fill_naA function to fill in missing data from each gamete
find_recomb_spotsA function to find recombination breakpoint regions for a...
get_modeA function to find the more common allele or NA at each SNP
impute_gamete_genotypesA function to drive the assignment and reporting of the...
invert_bitsA function to invert the values in a data frame or matrix
phase_donor_haplotypesA function to drive the phasing and reporting of the two...
read_dataA function to read in the sparse gamete sequencing data...
recode_gametesA function to assign each allele to a haplotype or an NA if...
reconstruct_hapA function to reconstruct the donor haplotypes using data...
record_ref_altThis function can be used to append the reference and...
re_recode_gametesA function to turn a matrix of gamete haplotypes by position...
rhapsodi_autorunThis function can be used to run all steps of rhapsodi
run_hmmA function that assigns the position in each gamete to the...
sim01NA42Simulated Sperm-seq data 0/1/NA encoded
sim_add_de_novo_mutThis function adds de novo mutations (DNM) to the generated...
sim_add_na_flattenThis function changes random indices to NA, in effect...
sim_add_seq_errorThis function inverts a bit at random indices in effect...
sim_add_to_na_flattenThis function overwrites NAs from random indices with "real"...
sim_assess_gam_imputationThis function assesses the effectiveness of rhapsodi's gamete...
sim_assess_itThis function drives the assessment of all 3 parts of...
sim_assess_phasingThis function assesses the effectiveness of rhapsodi's...
sim_assess_recombThis function assesses the effectiveness of rhapsodi's...
sim_autorunThis is the simulation autorun that generates data, calls...
sim_completenessThis function computes the completeness of a haplotype
sim_filter_generated_dataThis function filters the generated gamete data so that the...
sim_find_cov_from_mgrThis function computes the coverage given the desired missing...
sim_find_fnThis function finds the number of false negatives when...
sim_find_fpThis function finds the number of false positives when...
sim_find_mgr_from_covThis function computes the missing genotype rate given the...
sim_find_num_crossoversThis function finds the number of crossovers for each gamete
sim_find_num_nasThis function computes the number of NAs that should be used...
sim_find_tnThis function finds the number of true negatives when...
sim_find_tpThis function finds the number of true positives when...
sim_gamete_killingThis function is used to run the generative model to simulate...
sim_gene_conversionThis function is used to run the generative model to simulate...
sim_generate_donor_hapThis function generates the diploid donor haplotypes of...
sim_generate_gamThis function is used to generate the fully known gamete...
sim_generate_globalThis function simulates fully known gamete genotypes given a...
sim_hamming_distance_ignoreNAThis function computes the hamming distance (or the opposite...
sim_lhsThis function computes the largest haplotype segment
sim_metricsThis function computes and returns metrics given the number...
sim_run_generative_modelThis function runs the generative model to simulate input...
sim_run_generative_model_with_TDThis function runs the generative model to simulate input...
sim_serThis function computes the switch error rate
split_with_overlapA function to separate the gamete SNP positions into...
stitch_haplotypesA function to stitch overlapping windows together into the...
unsmoothA function to unsmooth or replace original reads for the...
mccoy-lab/rhapsodi documentation built on July 27, 2022, 3:56 a.m.