Skip to content
Snippets Groups Projects
Commit 2f08e0a9 authored by Jefferson Chen's avatar Jefferson Chen
Browse files

upload codes

parent 3f3cf578
Branches
Tags
No related merge requests found
# devtools::install_github("ZxZhou4150/Redeconve", build_vignettes = F)
library(Redeconve)
# data(basic)
library(Matrix)
# library(Matrix.utils)
load("./PDAC/basic.RData")
data_folder <- "./PDAC/"
annotations <- read.csv(paste0(data_folder, "./annotations.csv"))
# ref <- get.ref(sc, annotations, dopar = F)
# res.ct <- deconvoluting(ref, sp, genemode = "def", hpmode = "auto", dopar = T, ncores = 8)
idx <- cell.sampling(ncells = 100064, annotations, size = 1000, prot = T)
sc.ds <- sc[, idx[, 1]]
res.ds <- deconvoluting(sc.ds, st, genemode = "def", hpmode = "def", dopar = T, ncores = 32)
write.csv(as.matrix(res.ds), "Redeconve_human_breast.csv")
File added
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment