Description Usage Arguments Value Author(s) Examples
This function replaces a string or regular expression in a feature
variable using the sub
function.
1 2 | fDataToUnknown(object, fcol = "markers", from = "^$", to = "unknown",
...)
|
object |
An instance of class |
fcol |
Feature variable to be modified. Default is
|
from |
A |
to |
A replacement for matched pattern. Default is
|
... |
Additional arguments passed to |
An updated MSnSet
.
Laurent Gatto
1 2 3 4 5 6 | library("pRolocdata")
data(dunkley2006)
getMarkers(dunkley2006, "markers")
dunkley2006 <- fDataToUnknown(dunkley2006,
from = "unknown", to = "unassigned")
getMarkers(dunkley2006, "markers")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.