addBinInfo | R Documentation |
The function adds information at the bin level.
addBinInfo(cnr, df)
cnr |
a cnr bundle |
df |
a data.frame with the data to incorporate. Particularly useful for adding p-values, genetic effects, etc to the bins |
Returns a CNR object with added columns to the chromInfo. e.g. p-values for genome wide scans
data(cnr)
fakePval <- data.frame(pval = runif(5000))
cnr <- addBinInfo(cnr, df = fakePval)
head(cnr$chromInfo)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.