union.wNames | R Documentation |
Unites two character vectors while preserving names from the specified vector.
Gives a warning if there are conflicts in names between x
and y
.
union.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
).
union.wNames(x =c(a = "gene1", b = "gene2", c = "gene3")
, y =c( c = "gene3", dada = "gene2", "gene4")
, names = "x")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.