addInfo | R Documentation |
The function adds information at the bin level. The gene information is an interpolation of the bin. The number of independent tests you are performing is the number of common, non-identical segments in the data. However, to keep the framework simple, it's best to append results from algorithms to the chromInfo. E.g. if .X is 5000 bins, then your genome wide algorithim is 5000 p-values. Here is where you add it after generating it.
addInfo(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 <- addInfo(cnr, df = fakePval) head(cnr$chromInfo)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.