covg_to_df | R Documentation |
scan_spiked_bam
results into data.frames for model_glm_pmolreshape scan_spiked_bam
results into data.frames for model_glm_pmol
covg_to_df(spike_gr, spike, meth = TRUE, ID = NULL)
spike_gr |
GRanges of spike contigs (e.g. output object from scan_spiked_bam, scan_spike_contigs, or scan_spike_bedpe) |
spike |
spike database (as from data(spike, package="spiky")) |
meth |
only keep methylated spike reads? (TRUE; if FALSE, sum both) |
ID |
an identifier for this sample, if running several (autogenerate) |
a data.frame with columns 'frag_grp', 'id', and 'read_count'
scan_spiked_bam
data(spike, package="spiky") data(spike_res, package="spiky") subsetted <- covg_to_df(spike_res, spike=spike, meth=TRUE) summed <- covg_to_df(spike_res, spike=spike, meth=FALSE) round((summed$read_count - subsetted$read_count) / summed$read_count, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.