From 3d6aca1f6ec7d13ccae657a84aff24abd8d00ecd Mon Sep 17 00:00:00 2001 From: veghp <31794642+veghp@users.noreply.github.com> Date: Tue, 10 Sep 2019 12:29:23 +0100 Subject: [PATCH] Get correct DM1-3 coordinates Original version took DM0-2. --- .../92_pseudotime_webportal/pseudotime_webportal_nocycle.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipelines/92_pseudotime_webportal/pseudotime_webportal_nocycle.R b/pipelines/92_pseudotime_webportal/pseudotime_webportal_nocycle.R index 181b65e..192c113 100755 --- a/pipelines/92_pseudotime_webportal/pseudotime_webportal_nocycle.R +++ b/pipelines/92_pseudotime_webportal/pseudotime_webportal_nocycle.R @@ -210,7 +210,7 @@ raw_data_genes = t(apply(raw_data_genes, 1, adaptive.moving_average, kernel = 15 by.pdt.order = order(pseudotime$Pseudotime) dm.df = read.csv(file.path(output_folder_material, "dm.csv"), row.names = 1, header = F) -dm.df = as.data.frame(dm.df[, 1:3]) +dm.df = as.data.frame(dm.df[, 2:4]) dm.df$Labels = factor(seurat.obj@ident, levels = cell.labels) dm.df$Colours = mapvalues(x = dm.df$Labels, from = cell.labels, to = cell.colours)