ap_cutoffs2image | R Documentation |
Create a cutoff key for scoring of Autoimmunity Profiling data and
also produce an image.
Uses ap_cutoffs2()
ap_cutoffs2image( cutoffkey = NULL, MADlimits = NULL, padding = c(4, 6, 4, 1), signsyntax = "Unicode", shouldpng = TRUE, filename = "CutoffColorKey.png" )
cutoffkey |
table matching output from |
MADlimits |
vector of MADs values used as boundaries for binning (≥MADs), eg. seq(0,70,5). Not used if cutoffkey is provided. |
padding |
numerical vector of the form |
signsyntax |
string value of either |
filename |
string with filename and desired path, end with .png |
shouldpdf |
Logical, should it plot to png? |
If MADlimits is provided a data.frame with three columns will be returned:
[,1] MADs cutoff value
[,2] Corresponding score value
[,3] Corresponding color using the Zissou1 palette in wes_palette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.