checkFvarOverlap {pRoloc} | R Documentation

## Compare a feature variable overlap

### Description

Extracts qualitative feature variables from two `MSnSet` instances and compares with a contingency table.

### Usage

    checkFvarOverlap(x, y, fcolx = "markers", fcoly, verbose = TRUE)

### Arguments

`x` | An `MSnSet` instance.
`y` | An `MSnSet` instance.
`fcolx` | The feature variable to separate unknown (`fData(y)$coly == "unknown"`) from the marker features in the `x` object.
`fcoly` | As `fcolx`, for the `y` object. If missing, the value of `fcolx` is used.
`verbose` | If `TRUE` (default), the contingency table of the the feature variables is printed out.

### Value

Invisibly returns a named list with the values of the diagonal, upper and lower triangles of the contingency table.

### Author(s)

Laurent Gatto

### Examples

    library("pRolocdata")
    data(dunkley2006)
    res <- checkFvarOverlap(dunkley2006, dunkley2006,
                            "markers", "markers.orig")
    str(res)

[Package pRoloc version 1.26.0 Index]