Description Usage Arguments Value Examples
View source: R/perform.slingshot.trajectory.R
Generates slingshot trajectory inference on the defined reduction and clustering
1 2 3 4 5 6 7 8 9 10 | perform.slingshot.trajectory(
object,
reduction,
assay,
clust.method,
column,
start.clus = NULL,
end.clus = NULL,
...
)
|
object |
IBRAP S4 class object |
reduction |
Character. String defining which reduction to supply to the clustering algorithm. Default = NULL |
assay |
Character. String containing indicating which assay to use |
clust.method |
Character. Which cluster method should be used utilised from clustering results, if ''metadata'' is supplied, you will access the metadata. |
column |
Character. Which column within the isolated clust.method should be used to define cell type annoation. |
start.clus |
Character. Which cluster should start the trajectory, if NULL then slingshot will attempt to discover this. Default = NULL |
end.clus |
Character. Which cluster should end the trajectory, if NULL then slingshot will attempt to discover this. Default = NULL |
... |
arguments to be passed to slingshot::slingshot |
A SingleshotDataSet class results object containing cellular lineages/curves
1 2 3 4 5 | traj_res <- perform.slingshot.trajectory(object = object, reduction = 'pca_umap',
assay = 'SCT', clust.method = 'metadata',
column = 'celltype')
plot.slingshot(result = traj_red, object = traj, assay = 'SCT', relevant = F, Pseudotime = T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.