QQ Plot
MVP.Report.QQplot(P.values, taxa_name, col = c("blue"), cex = 0.5,
threshold = NULL, amplify = TRUE, signal.col = "red",
signal.pch = 19, signal.cex = 0.8, conf.int = TRUE, cex.axis = 1,
conf.int.col = "grey", threshold.col = "red", file.type = "jpg",
memo = "MVP", box = TRUE, dpi = 300)
P values
The identifier of the phenotype will be used to generate a portion of the image file name. If the title parameter is NULL, it will also be part of the title.
default color is "blue"
A numerical value giving the amount by which plotting text and
symbols should be magnified relative to the default. This starts as 1
when a device is opened, and is reset when the layout is changed, e.g.
by setting mfrow. see par
.
Number or Vector. The cutoff line on Manhattan plot, e.g. Bonfferoni correction. More than one significant line can be added onto one figure. If threshold=0 or NULL, the threshold line will not be added.
Logical value. If TRUE, the points that passed the threshold line will be highlighted
Character. If "amplify" is TRUE, "signal.col" is used to set the color of significant points, if "signal.col" is NULL, the colors of significant points will not be changed
Number. If "amplify" is TRUE, users can set the type of significant points
Number. If "amplify" is TRUE, "signal.cex" is used to set the size of significant points
Whether to draw a confidence interval
a number, controls the size of numbers of X-axis and the size of labels of circle plot.
a character, the color of the confidence interval on QQ-plot.
Character or Vector. The colors of threshold lines
A string or NULL is used to determine the type of output
file. Can be "jpg", "pdf", "tiff". If it is NULL, it will use
dev.new()
to create a new graphics device
in the current environment, which may be RStudioGD or the default
device of the system.
the prefix of the output image file.
A Boolean value that controls whether to draw a box around QQplot.
a number, the picture element for .jpg and .tiff files. The default is 300.
Output file: <memo>.QQplot.<taxa_name>.<type>
# NOT RUN {
data(pig60K, package = "rMVP")
MVP.Report(pig60K,plot.type="q",conf.int.col=NULL,box=TRUE,file="jpg",memo="",dpi=300)
# }
Run the code above in your browser using DataLab