pof: Percentage of Overlapping Features

Description Usage Arguments Value Author(s) References See Also Examples

Description

Calculates percent of overlapping features between two vectors of features. In brief, the closer to 1 the more similar the vectors. The two vectors may have an arbitrary cardinality (i.e. don't need same length).

Usage

1
pof(x, y)

Arguments

x

Character vector of feature names

y

Character vector of feature names

Value

Returns the percent of overlapping features for the two vectors. It takes values in [0,1], with 0 meaning no overlap between two sets and 1 meaning two sets are identical.

Author(s)

Charles E. Determan Jr.

References

Shi L., et al. (2005) Cross-platform comparability of microarray technology: intra-platform consistency and appropriate data analysis procedures are essential. BMC Bioinformatics. 6 (Suppl. 2) S12. He. Z. & Weichuan Y. (2010) Stable feature selection for biomarker discovery. Computational Biology and Chemistry 34 215-225.

See Also

kuncheva, sorensen, ochiai, pof, pairwise.stability, pairwise.model.stability

Examples

1
2
3
4
# Percent-Overlapping Features demo
v1 <- paste("Metabolite", seq(10), sep="_")
v2 <- sample(v1, 10)
pof(v1, v2)

cdeterman/OmicsMarkeR documentation built on May 13, 2019, 2:35 p.m.