rename_spikes {spiky} | R Documentation

## for BAM/CRAM files with renamed contigs, we need to rename `spike` rows

### Description

This function does that.

### Usage

    rename_spikes(x, spike)

### Arguments

`x` | a BAM/CRAM file, hopefully with an index
`spike` | a DataFrame where spike$sequence is a DNAStringSet

### Value

         a DataFrame with renamed contigs (rows)

### See Also

generate_spike_fasta

[Package spiky version 1.0.0 Index]