Learn R Programming

pRoloc (version 1.12.4)

checkFvarOverlap: 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.

Examples

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

Run the code above in your browser using DataLab