run_dtw | R Documentation |
Use DTW to calcuate gene-gene distance based on their expression and pseudotime
run_dtw( expression_matrix, pseudotime_list, slide_window_size = 50, slide_step_size = 25, quantile_cutoff = 5, cores = 1 )
expression_matrix |
expression matrix data |
pseudotime_list |
list of pseudotime |
slide_window_size |
sliding window size |
slide_step_size |
sliding window step size |
quantile_cutoff |
an integer value (1-99) for quantile cutoff |
cores |
number of cores for parallel computing |
adjacency dataframe (with columns "from, to, distance,direction, similarity")
example_data <- pGRNDB expression_matrix <- example_data[["expression"]] pseudotime_list <- example_data[["ptime"]]$PseudoTime adj_df <- run_dtw(expression_matrix, pseudotime_list, quantile_cutoff=50, cores=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.