strand_correct_umi_features: Strand correct UMI features (ce and cd)

View source: R/load_BAM.R

strand_correct_umi_featuresR Documentation

Strand correct UMI features (ce and cd)

Description

This function corrects the orientation of Unique Molecular Identifier (UMI) features based on the DNA strand from which they originate. It takes a data frame containing UMI features and adjusts them if they are from the reverse strand, ensuring that the orientation of the UMI sequences is consistent with their representation on the forward strand. This correction is necessary for accurate downstream analysis of sequence data.

Usage

strand_correct_umi_features(df)

Arguments

df

data.frame converted from lists-of-lists (scanBam)

Value

data.frame with corrected UMI features


JakobPedersenLab/dreams documentation built on Feb. 2, 2024, 3:14 p.m.