pre_pseudotime_matrix | R Documentation |
This function takes in a monocle3 object and returns a smoothed pseudotime matrix for the given gene list, either in counts or normalized form. The function first matches the gene list with the rownames of the SummarizedExperiment object, and then orders the pseudotime information. The function then uses smooth.spline to apply smoothing to the data. Finally, the function normalizes the data by subtracting the mean and dividing by the standard deviation for each row.
pre_pseudotime_matrix(
cds_obj = NULL,
assays = c("counts", "normalized"),
gene_list = NULL
)
cds_obj |
A monocle3 object |
assays |
Type of assay to be used for the analysis, either "counts" or "normalized" |
gene_list |
A vector of gene names |
A smoothed pseudotime matrix for the given gene list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.