Feature_pieplot | R Documentation |
This function outputs the pie plot of feature percentages in gene body or CpG island mainly for DMC sites with features.
Feature_pieplot(
siteall_significant_feature,
methdirection = "both",
title = "Pie plot for feature",
threeDplot = TRUE
)
siteall_significant_feature |
refers to the input file with features, mainly for DMC sites with features. |
methdirection |
refers to the methylation direction when the input file contains the methylation difference column i.e., Methdiff1 after Logic_regression(), which can be "hypo", "hyper" and "both", with the default "both" for both directions. |
title |
refers to figure titles, with the default "Pie plot for chromosome". |
threeDplot |
refers to whether to pie plot in three dimensions based on R pacakge plotrix, with the default TRUE. |
Outputs a pie figure in different features.
Feature_pieplot(siteall_significant_feature)
Feature_pieplot(siteall_significant_feature, methdirection = "hypo")
Feature_pieplot(siteall_significant_feature, title = c("Gene body", "CpG island"))
Feature_pieplot(siteall_significant_feature, title = c("Pie plot for Gene body", "Pie plot for CpG island"), threeDplot = FALSE)
Feature_pieplot(siteall_significant_feature, methdirection = "hyper", title = c("Pie plot for Gene body", "Pie plot for CpG island"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.