From 9c72e400ba368863506df9c31384f68813a43ae5 Mon Sep 17 00:00:00 2001 From: veghp <31794642+veghp@users.noreply.github.com> Date: Tue, 10 Sep 2019 12:37:40 +0100 Subject: [PATCH] Get correct DM1-3 coordinates Original version took DM0-2. --- pipelines/92_pseudotime_webportal/pseudotime_webportal.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipelines/92_pseudotime_webportal/pseudotime_webportal.R b/pipelines/92_pseudotime_webportal/pseudotime_webportal.R index dce9876..c8c1fef 100755 --- a/pipelines/92_pseudotime_webportal/pseudotime_webportal.R +++ b/pipelines/92_pseudotime_webportal/pseudotime_webportal.R @@ -205,7 +205,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)