R: separately plot quantile-quantile plot for the return...
VS.Allele.QQ
R Documentation
separately plot quantile-quantile plot for the return value(allele count) of 'meta.TradPerm'
and 'meta.MCPerm' for certain study
Description
separately plot quantile-quantile plot for the return value(allele count) of 'meta.TradPerm'
and 'meta.MCPerm' for certain study.
Usage
VS.Allele.QQ(Trad_case_1, Trad_case_2, Trad_control_1, Trad_control_2,
MC_case_1, MC_case_2, MC_control_1, MC_control_2,
scatter_col = "black", line_col = "black",
main = "QQ plot for allele model",
title = c("case_A", "case_a", "control_A", "control_a"),
xlab = "Quantile of count (TradPerm)", ylab = "Quantile of count (MCPerm)")
Arguments
Trad_case_1
a numeric vector, simulative allele 1 count for case samples got by TradPerm method for certain study.
Trad_case_2
a numeric vector, simulative allele 2 count for case samples got by TradPerm method for certain study.
Trad_control_1
a numeric vector, simulative allele 1 count for control samples got by TradPerm method for certain study.
Trad_control_2
a numeric vector, simulative allele 2 count for control samples got by TradPerm method for certain study.
MC_case_1
a numeric vector, simulative allele 1 count for case samples got by MCPerm method for certain study.
MC_case_2
a numeric vector, simulative allele 2 count for case samples got by MCPerm method for certain study.
MC_control_1
a numeric vector, simulative allele 1 count for control samples got by MCPerm method for certain study.
MC_control_2
a numeric vector, simulative allele 2 count for control samples got by MCPerm method for certain study.
scatter_col
the color for scatter points of quantile-quantile plot. Default value is 'black'.
line_col
the color of line which passes through the sample distribution probs quantiles, the first and
third quartiles. Default value is 'black'.
main
the main title(on top). Default value is "QQ plot for allele model".
title
the sub main title for each plot(on top). Default value is a vector with elements: 'case_A', 'case_a',
'control_A' and 'control_a'.
xlab,ylab
X axis label, default value is "Quantile of count (TradPerm)".
Y axis label, default value is "Quantile of count (MCPerm)".
Details
Separately plotting quantile-quantile plot for the return value(allele count) of 'meta.TradPerm'
and 'meta.MCPerm' for certain study is to compare the simulative allele count distribution got
by TradPerm and MCPerm method whether are same.
MCPerm details see chisq.MCPerm.
TradPerm details see chisq.TradPerm.
Author(s)
Lanying Zhang and Yongshuai Jiang <jiangyongshuai@gmail.com>
References
William S Noble(Nat Biotechnol.2009): How does multiple testing correction work?