View source: R/TrajectoryGeometry.R
varianceInDirection | R Documentation |
This function takes a direction and a set of cells epressed in PCs and determines the fraction of total variance in the given direction.
varianceInDirection(direction, cells)
direction |
- a numeric giving the direction expressed in PCs |
cells |
- a set of cells given as a matrix where each row is a cell and each column is a PC. This must have at least as many PCs as the direction |
The fraction of total variance (across that many PCs) in the given direction.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.