plotMotifMatches.Rd
Plot a matrix with rows and columns representing motifs in the query and target database, and the fill color representing one of the three statistics (p_value, e_value, q_value) measuring the significance of the similarity between the motifs.
plotMotifMatches(x, fill = "p_value", color = "transparent")
x | a MotifCompareResult object. |
---|---|
fill | the statistic to plot. One of p_value, e_value, q_value (default: p_value). |
color | color use for the tile border (default: transparent). |
The original data only contains the mortif pairs matching. When using a color for the tiles different from transparent, only those tiles present in the original data are present. To get around this problem the missing cells are created and assigned NA values. For this expand.grid and apply are used, whic may slow down the method for large matrices (when comparing large motif libraries).
NULL#> NULL