Description Usage Arguments Details Value Author(s) See Also Examples
Returns trajectory fitting residuals from SingleCellExperiment
object
1 | trajResiduals(object)
|
object |
A |
The trajectory fitting deviation is defined as the
vector rejection from a sample in the latent space to the trajectory
backbone. The trajectory backbone is defined by a tree spanning all
relevant states. Samples get orthogonally projected onto straight lines
connecting related states. This function quantifies the distance between
the actual positon of a sample in the latent space and its projectd position
on the trajectory backbone. In other words, the higher the distance, the
higher its deviation (residual) from the trajectory fit. This function
returns all residuals for each projected sample. Residuals of samples which
were exluded for trajectory reconstruction are NA
.
A numeric
vector
Daniel C. Ellwanger
1 2 3 4 | # Example data
data(exSCE)
trajResiduals(exSCE)[seq_len(5)]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.