interactive.plot.CorrData {IdMappingAnalysis} | R Documentation

## Draw a scatterplot of experiment data interactively

### Description

Draw a scatterplot of experiment data interactively.

### Usage

    ## S3 method for class 'CorrData'
    interactive.plot(this, input="loop", new.plot=FALSE, file.copy=FALSE, copy.zoom=1, ...)

### Arguments

`input` | character vector of primary IDs, vector of match pairs, "menu" or "loop". In case of "menu" or "loop" the set if primary IDs is determined interactively using graphical selection menu, and in case of "loop" the process of plotting repeates until user cancels it. If data series for more than one match pair to be displayed (in case input is a vector of primary IDs for example), the set of match pairs also selected intactively. Default is "loop".
`new.plot` | If `TRUE`, then new graphic device is opened for plotting. Default is `FALSE`.
`file.copy` | `logical` or a `character` string indicating if the plot should be saved to a file. If `character` string, it's content used as a file name and if `TRUE`, the default file named is used. Default is `FALSE`.
`copy.zoom` | Zoom factor used when saving plot in a file. Default is 1.
`...` | Additional graphical parameters including ones from plot.CorrData

### Author(s)

Alex Lisovich, Roger Day

### See Also

For more information see `CorrData`.

### Examples

     #non-interactive scatterplot plot with a single primary and secondary IDs pair and outcomes
     examples$corrData$interactive.plot(input=list(c("P07355","1568126_at")),
     		outcomePairs=examples$outcomeMap,proteinNames="ANXA2",
     		cols=c("green","red","darkblue"),cex=1.2,cex.main=1.2,font.main=4,cex.lab=1.2);

     ## Not run:
     #interactive scatterplot with a single primary ID (uniprot) and outcomes
     examples$corrData$interactive.plot(c("P07355"), outcomePairs=examples$outcomeMap, proteinNames="ANXA2");

     #interactive scatterplot with multiple probeset IDs (uniprot) and without outcomes -  ANXA2 (annexin 2)
     examples$corrData$interactive.plot(c("P07355", "P07384", "P09382"));

    ## End(Not run)

[Package IdMappingAnalysis version 1.26.0 Index]