unsmooth: A function to unsmooth or replace original reads for the...

View source: R/unsmooth.R

unsmoothR Documentation

A function to unsmooth or replace original reads for the gametes

Description

This function finds where the resulting haplotype assignments differ from the original reads and replaces the imputed data with the originally observed data, hence unsmoothing the HMM signal.

Usage

unsmooth(original_gamete_df, filled_gamete_data)

Arguments

original_gamete_df

original gamete data with haplotype by position

filled_gamete_data

filled gamete data from fill_gametes

Value

filled_gamete_data filled gamete data in tibble form with replaced original reads


mccoy-lab/rhapsodi documentation built on July 27, 2022, 3:56 a.m.