Description Usage Arguments Value Examples
Obtain an estimate for the transDist
parameter (used in function callMethylation
) by fitting an exponential function to the supplied correlations (from distanceCorrelation
).
1 | estimateTransDist(distcor, skip = 2, plot.parameters = TRUE)
|
distcor |
The output produced by |
skip |
Skip the first n cytosines for the fitting. This can be necessary to avoid periodicity artifacts due to the context definition. |
plot.parameters |
Whether to plot fitted parameters on to the plot or not. |
A list() with fitted transDist
parameters and the corresponding ggplot
.
1 2 3 4 5 6 7 | ## Get some toy data
file <- system.file("data","arabidopsis_toydata.RData",
package="methimpute")
data <- get(load(file))
distcor <- distanceCorrelation(data)
fit <- estimateTransDist(distcor)
print(fit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.