checkFeatureNamesOverlap: Check feature names overlap

Description Usage Arguments Value Author(s) Examples

View source: R/utils.R

Description

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

Usage

1
2
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

1
2
3
4
5
6
7
8
library("pRolocdata")
data(andy2011)
data(andy2011goCC)
checkFeatureNamesOverlap(andy2011, andy2011goCC)
featureNames(andy2011goCC)[1] <- "ABC"
res <- checkFeatureNamesOverlap(andy2011, andy2011goCC)
res$markersX
res$markersY

pRoloc documentation built on Nov. 8, 2020, 6:26 p.m.