prob.heatmap | R Documentation |
This function produces a probability heatmap plot, ordered by the phenotype. This gives an idea of what the regression procedure is actually being handed as inputs.
prob.heatmap(
marker,
p.value = NULL,
genomecache,
model = "additive",
phenotype,
phenotype.data,
merge.by = "SUBJECT.NAME",
founder.labels = NULL,
founder.cex = 1,
founder.line = 1,
founder.col = rep("black", 8),
include.phenotype.axis = TRUE,
phenotype.lab.cex = 1,
phenotype.num.cex = 1,
phenotype.num.padj = NA,
phenotype.line = NA,
phenotype.num.line = NA,
include.ramp = TRUE,
ramp.label.cex = 0.7,
ramp.label.line = 0.5,
prob.axis.cex = 1,
include.marker = TRUE,
marker.line = 2.5,
alternative.phenotype.label = NULL,
alternative.marker.label = NULL
)
marker |
A marker that is contained in the genome cache. In general this should be a marker of interest, such as one beneath a putative QTL peak. |
p.value |
DEFAULT: NULL. Includes the observed p-value in the plot title. |
genomecache |
The path to the genome cache that contains founder haplotype information. |
model |
DEFAULT: "additive". If "additive", dosages are plotted. If "full", probabilities are plotted. |
phenotype |
The name of the phenotype column in the data set. |
phenotype.data |
A data.frame object that contains the phenotype information. Should also have a column that matches genomes in the genome cache. |
merge.by |
DEFAULT: "SUBJECT.NAME". Specifies the columns to merge phenotype and haplotype data. |
founder.labels |
DEFAULT: "NULL". If NULL, will default to the labels in the genome cache. |
founder.cex |
DEFAULT: 1. Defines the text size of the founder labels. |
include.ramp |
DEFAULT: TRUE. If TRUE, spectrum ramp for dosages or probabilities is included. |
ramp.label.cex |
DEFAULT: 0.7. Specifies the size of the dosage/probability spectrum label. |
ramp.label.line |
DEFAULT: 0.5. Specifies the number of margin lines that separates the spectrum label from the bottom axis. |
prob.axis.cex |
DEFAULT: 1. Specifies the size of the dosage/probability tick labels. |
include.marker |
DEFAULT: TRUE. If TRUE, the marker name is included in the title. |
alternative.phenotype.label |
DEFAULT: NULL. Allows for an alternative label for the phenotype. |
alternative.marker.label |
DEFAULT: NULL. Allows for an alternative label for the marker. |
prob.heatmap()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.