Cpgfeature_boxplot | R Documentation |
This function output the methylation levels in boxplot for one group based on CpG island features, e.g., CpG island and CpG island shore based on groups.
Cpgfeature_boxplot(
genefeatureall_cpgfeature,
groupnum = 1,
ttest = TRUE,
cpgfeaturelable = c("CpGisland", "Shore"),
title = "Group1",
col = NULL,
yaxislabel = TRUE
)
genefeatureall_cpgfeature |
refers to output of Region_match as well. the output of gene or genebody match with cpgi features, e.g., all genes in promoter or exon or intron regions. |
groupnum |
refers to the group number, can be NULL if without groups but the colnames should have "group" name like CpGislandgroup or Shoregroup, can also be automatically set in the Group_feature_boxplot function. |
ttest |
refers to whether perform the Student t-test, with default TRUE. |
cpgfeaturelable |
refers to CpG island features, with default CpGisland" and "Shore". |
title |
refers to main text of title with default "Group1". |
col |
refers to colors, with default NULL. |
yaxislabel |
refers to the label of y axis, with default TRUE, but the yaxislabel will be set to FALSE when Group_feature_boxplot function is used for only one y axis in multiple groups. |
Outputs boxplot figure.
Cpgfeature_boxplot(genefeatureall_cpgfeature, groupnum = 1, ttest = TRUE, cpgfeaturelable = c("CpGisland", "Shore"), title = "Group1", col = "blue")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.