首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >SPOTlight包与spotlight_deconvolution函数错误

SPOTlight包与spotlight_deconvolution函数错误
EN

Stack Overflow用户
提问于 2022-01-23 21:53:31
回答 1查看 145关注 0票数 0

当前,我正在运行SPOTlight包,并尝试将聚光灯分解部分。我的参考scRNAseq数据上的代码。我正在运行的代码如下:

代码语言:javascript
复制
#Spotlight decomposition
set.seed(123)
spotlight_ls <-spotlight_deconvolution(
se_sc = E14_sc,
counts_spatial = anterior@assays$RNA@counts,
clust_vr = "subclass", # Variable in sc_seu containing the cell-type annotation
cluster_markers = cluster_markers_all, # Dataframe with the marker genes
cl_n = 100, # number of cells per cell type to use
hvg = 3000, # Number of HVG to use
ntop = NULL, # How many of the marker genes to use (by default all)
transf = "uv", # Perform unit-variance scaling per cell and spot prior to 
factorzation and NLS
method = "nsNMF", # Factorization method
min_cont = 0 # Remove those cells contributing to a spot below a certain threshold
)

当我运行这段代码时,我会得到以下错误:spotlight_deconvolution中的错误(se_sc= E14_sc,counts_spatial =Fronan@assays$RNA@count,:未能找到函数"spotlight_deconvolution“)

EN

回答 1

Stack Overflow用户

发布于 2022-03-03 16:56:56

我也有同样的错误。函数的名称现在只是SPOTlight(),参数名称已经更新,但我认为函数是相同的。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/70826902

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档