View source: R/rename_spike_seqlevels.R
rename_spike_seqlevels | R Documentation |
This function is essentially the opposite of rename_spikes, except that it works well on GRanges/GAlignments from or for merged genome+spike BAMs. If spike contigs are found, it will assign genome='spike' to those, while changing the seqlevels to standardized names that match rownames(spike).
rename_spike_seqlevels(x, spike = NULL)
x |
something with seqlevels (GRanges, GAlignments, Seqinfo...) |
spike |
a DataFrame where spike$sequence is a DNAStringSet (or NULL) |
x, but with standardized spike seqlevels and genomes
rename_spikes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.