Pvalue_adjusted: Internal Use Function That adjusts the P values of logistical...

View source: R/DMR_test.R

Pvalue_adjustedR Documentation

Internal Use Function That adjusts the P values of logistical regression model.

Description

This function adjust the P values of each region or each cytosine by logistical regression model.

Usage

Pvalue_adjusted(output, adjustedmethod = "fdr")

Arguments

output

refers to the output of Methmean_match.

adjustedmethod

refers to the P values adjusted methods, with the default fdr. The adjustedmethod could be "holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "none" as well.

Value

Outputs the regiongene or regioncpg or of gene/cpg with different features with Q values.

Examples

output_Qvalue <- Pvalue_adjusted(output, adjustedmethod = "fdr")
output_Qvalue <- Pvalue_adjusted(output)
output_Qvalue <- Pvalue_adjusted(output, adjustedmethod = "bonferroni")
output_Qvalue <- Pvalue_adjusted(output, adjustedmethod = "BH")


xiaowangCN/GeneDMRs documentation built on Nov. 22, 2023, 11:19 p.m.