bin_pmol {spiky}R Documentation

Binned estimation of picomoles of DNA present in cfMeDIP assays

Description

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.

Usage

bin_pmol(x)

Arguments

x

results from predict_pmol (a data.frame or GRanges)

Value

 the same object, but with a column `adjusted_pred_con`

See Also

model_glm_pmol

predict_pmol

Examples

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)


[Package spiky version 1.0.0 Index]