Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
caokai1073 authored Feb 28, 2023
1 parent 285c4de commit a108a15
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions R process/spot/PDAC_SPOT.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ library(scatterpie)
library(RColorBrewer)
library(grDevices)
library(Seurat)
library(tibble)
library(data.table)
set.seed(1234)
library(dplyr)
library(stringr)

file_path <- '/data/work/uniPort/PDAC_SPOT/'

file_path <- '/data/yupines/kai/data/st/PDAC_SPOTS/'

file_path = '/Users/cao/Downloads/uniPort-main-2/R process/spot/'
#-----------------------------------------------------------
# input data for uniPort
#-----------------------------------------------------------
Expand Down Expand Up @@ -67,7 +67,7 @@ ind <- as.data.frame(t(sapply(
#-----------------------------------------------------------
source(paste0(file_path,'spatial_function.R'))

ot <- read.table(paste0(file_path,'OT_PDAC_RNAref.txt'),sep = '\t',header = T, row.names = 1)
ot <- read.table(paste0(file_path,'OT_PDAC.txt'),sep = '\t',header = T, row.names = 1)

rownames(names) <- names$cell
ot_map <- mapCluster(ot, meta = names, cluster = 'cell_type', min_cut = 0.15, balance = T)
Expand Down

0 comments on commit a108a15

Please sign in to comment.