mirror of
https://github.com/haniffalab/scRNA-seq_analysis.git
synced 2024-10-23 08:29:24 -07:00
Get correct DM1-3 coordinates
Original version took DM0-2.
This commit is contained in:
parent
3d6aca1f6e
commit
9c72e400ba
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue