View source: R/sequence_position_handling_indels.R
extract_indel_info | R Documentation |
This function processes a data frame containing BAM file information to extract indel information. It filters rows with insertions or deletions, calculates indel lengths and types, and generates genomic positions and indel sequences.
extract_indel_info(bam_df)
bam_df |
A data frame containing BAM file information, including columns
for position ( |
A modified version of the input data frame bam_df
, which includes
additional columns for genomic position (genomic_pos
), indel length
(indel_length
), indel type (indel_type
), and indel sequence
(indel_seq
). Each row corresponds to an indel event.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.