bin_pmol {spiky} | R Documentation |
Given the results of model_glm_pmol and predict_pmol, adjust the predictions to reflect picomoles of captured DNA overlapping a given bin in the genome.
bin_pmol(x)
x |
results from predict_pmol (a data.frame or GRanges) |
the same object, but with a column `adjusted_pred_con`
model_glm_pmol
predict_pmol
data(spike, package="spiky") data(ssb_res, package="spiky") fit <- model_glm_pmol(covg_to_df(ssb_res, spike=spike),spike=spike) pred <- predict_pmol(fit, ssb_res, ret="df") bin_pmol(pred)