fDataToUnknown {pRoloc} | R Documentation |
This function replaces a string or regular expression in a feature
variable using the sub
function.
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
library("pRolocdata") data(dunkley2006) getMarkers(dunkley2006, "markers") dunkley2006 <- fDataToUnknown(dunkley2006, from = "unknown", to = "unassigned") getMarkers(dunkley2006, "markers")