Description Usage Arguments Value Author(s) See Also Examples
Convenience accessor to the organelle markers in an MSnSet
.
This function returns the organelle markers of an MSnSet
instance. As a side effect, it print out a marker table.
1 | getMarkers(object, fcol = "markers", names = TRUE, verbose = TRUE)
|
object |
An instance of class |
fcol |
The name of the markers column in the |
names |
A |
verbose |
If |
A character
(matrix
) of length (ncol)
ncol(object)
, depending on the vector or matrix encoding of
the markers.
Laurent Gatto
See getMarkerClasses
to get the classes
only. See markers
for details about spatial markers
storage and encoding.
1 2 3 4 5 6 7 8 9 | library("pRolocdata")
data(dunkley2006)
## marker vectors
myVmarkers <- getMarkers(dunkley2006)
head(myVmarkers)
## marker matrix
dunkley2006 <- mrkVecToMat(dunkley2006, mfcol = "Markers")
myMmarkers <- getMarkers(dunkley2006, fcol = "Markers")
head(myMmarkers)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.