checkFeatureNamesOverlap {pRoloc} | R Documentation

## Check feature names overlap

### Description

Checks the marker and unknown feature overlap of two `MSnSet` instances.

### Usage

    checkFeatureNamesOverlap(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 overlap is printed out on the console.

### Value

Invisibly returns a named list of common markers, unique `x` markers, unique `y` markers in, common unknowns, unique `x` unknowns and unique `y` unknowns.

### Author(s)

Laurent Gatto

### Examples

    library("pRolocdata")
    data(andy2011)
    data(andy2011goCC)
    checkFeatureNamesOverlap(andy2011, andy2011goCC)
    featureNames(andy2011goCC)[1] <- "ABC"
    res <- checkFeatureNamesOverlap(andy2011, andy2011goCC)
    res$markersX
    res$markersY

[Package pRoloc version 1.22.2 Index]