getOverallTrajectory,CombinedDataSet-method | R Documentation |
This function infers the overall trajectory structure from CombinedDataSet
using .
## S4 method for signature 'CombinedDataSet'
getOverallTrajectory(
CombinedDataSet,
reducedDim = "UMAP",
start.clus = NULL,
end.clus = NULL,
dist.method = "slingshot",
use.median = FALSE,
...
)
reducedDim |
The dimensionality reduction to be used. Can be
a matrix or a character identifying which element of
|
start.clus |
(optional) character, indicates the starting cluster(s) from which lineages will be drawn. |
end.clus |
(optional) character, indicates which cluster(s) will be forced to be leaf nodes in the graph. |
dist.method |
(optional) character, specifies the method for calculating
distances between clusters. Default is |
use.median |
logical, whether to use the median (instead of mean) when
calculating cluster centroid coordinates. Default is |
data |
A class of |
Given a CombinedDataSet
object, this function infers the overall cell trajectory using the .
To reduce noise, clones with less than 5 cells are removed before trajectory inference.
A class of TrajectoryDataSet
object
TCR <-read.csv('/PATH/TO/YOUR/scTCR-seqData/',header=T)
load('Mice.sub.rda')
Combined <- getCombinedDataSet(TCR,Mice.sub)
Trajectory <- getOverallTrajectory(Combined,reducedDim = NULL,start.clus = NULL, end.clus = NULL, dist.method = 'slingshot', use.median = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.