sample_negative_read_positions_indels: Sample Negative Read Positions with Indels information

sample_negative_read_positions_indelsR Documentation

Sample Negative Read Positions with Indels information

Description

This function takes a data frame of BAM file reads and a number of samples, then generates a sample of negative read positions. It adds additional columns for indel information, initializing them to default values.

Usage

sample_negative_read_positions_indels(bam_df, n_samples)

Arguments

bam_df

A data frame representing BAM file reads.

n_samples

The number of negative read positions to sample.

Value

A data frame similar to bam_df but with additional columns: indel_length (initialized to 0), indel_type (empty string), and indel_seq (empty string).


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