factorFromP2Selection | R Documentation |
Returns a factor of cell membership from a p2 selection object the factor only includes cells present in the selection. If the selection contains multiclassified cells an error is raised
factorFromP2Selection(sel, use.internal.name = FALSE, flatten = FALSE)
sel |
a pagoda2 selection as genereated by readPagoda2SelectionFile |
use.internal.name |
boolean Whether to use field 'internal.name' as factor names (default=FALSE) |
flatten |
boolean Whether to ignore multiclassified cells, overwriting randomly (default=FALSE) |
factor of cell membership from a p2 selection object. The factor only includes cells present in the selection.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.