Get correct DM1-3 coordinates

Original version took DM0-2.
This commit is contained in:
veghp 2019-09-10 12:29:23 +01:00 committed by GitHub
parent 82cc2d191e
commit 3d6aca1f6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -210,7 +210,7 @@ raw_data_genes = t(apply(raw_data_genes, 1, adaptive.moving_average, kernel = 15
by.pdt.order = order(pseudotime$Pseudotime) by.pdt.order = order(pseudotime$Pseudotime)
dm.df = read.csv(file.path(output_folder_material, "dm.csv"), row.names = 1, header = F) 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$Labels = factor(seurat.obj@ident, levels = cell.labels)
dm.df$Colours = mapvalues(x = dm.df$Labels, from = cell.labels, to = cell.colours) dm.df$Colours = mapvalues(x = dm.df$Labels, from = cell.labels, to = cell.colours)