intersect.wNames | R Documentation |
Intersects two character vectors while preserving names from the specified vector.
intersect.wNames(x, y, names = "x")
x |
A character vector. |
y |
A character vector. |
names |
Character. Specifies which vector's names to preserve in the output.
"x" preserves |
A character vector with names preserved from the specified vector (x
or y
).
intersect.wNames(c(a = "gene1", b = "gene2"), c("gene2", "gene3"), names = "x")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.