computeNucleosomeEnrichmentOverBackground.RdA function to compute nucleosome enrichment of a Vmat. Should only be used internally.
computeNucleosomeEnrichmentOverBackground(Vmat, background = NULL, plus1_nuc_only = FALSE, minus1_nuc = list(c(xmin = -150, xmax = -50), c(ymin = 165, ymax = 270)), minus1_nuc_neg = list(c(xmin = -150, xmax = -50), c(ymin = 50, ymax = 145)), plus1_nuc = list(c(xmin = 60, xmax = 160), c(ymin = 165, ymax = 270)), plus1_nuc_neg = list(c(xmin = 60, xmax = 160), c(ymin = 50, ymax = 145)), ...)
| Vmat | A Vmat computed by nucleosomeEnrichment function |
|---|---|
| background | a background Vmat |
| plus1_nuc_only | Should compute nucleosome enrichment only for +1 nucleosome? |
| minus1_nuc | list where the -1 nucleosome is located |
| minus1_nuc_neg | where the background of the -1 nucleosome is located |
| plus1_nuc | where the +1 nucleosome is located |
| plus1_nuc | where the background of the +1 nucleosome is located |
list