Extraction methods {destiny} | R Documentation |
Extract common information from objects.
Apart from the input data's branches,
you can extract diffusion components via $DCx
.
From DPT
objects, you can also extract the branch label via $Branch
,
or the diffusion pseudo time for a numbered cell via $DPTx
.
## S4 method for signature 'DiffusionMap' names(x) ## S4 method for signature 'DPT' names(x) ## S4 method for signature 'DiffusionMap,character,missing' x[[i, j, ...]] ## S4 method for signature 'DPT,character,missing' x[[i, j, ...]] ## S4 method for signature 'DiffusionMap' x$name ## S4 method for signature 'DPT' x$name
x |
|
i, name |
Name of a diffusion component |
j |
N/A |
... |
ignored |
The names or data row, see respective generics.
Extract, names
for the generics. DiffusionMap accession methods, DiffusionMap methods, Coercion methods for more
data(guo) dm <- DiffusionMap(guo) dm$DC1 # A diffusion component dm$Actb # A gene expression vector dm$num_cells # Phenotype metadata dpt <- DPT(dm) dm$Branch dm$DPT1