checkFvarOverlap: Compare a feature variable overlap

Description Usage Arguments Value Author(s) Examples

View source: R/utils.R

Description

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

Usage

1
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

1
2
3
4
5
library("pRolocdata")
data(dunkley2006)
res <- checkFvarOverlap(dunkley2006, dunkley2006,
                        "markers", "markers.orig")
str(res)

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