Closed Shiywa closed 3 years ago
Yes, thank you for letting me know. I had forgotten to add the new Reference.R file. However, it is present now. Please update the package and try again. Sorry for the inconvenience.
thanks for your advice. however, there are still some mistakes in vignettes construction.
> devtools::install_github("dmcable/RCTD", build_vignettes = TRUE)
Registered S3 method overwritten by 'cli':
method from
print.boxx spatstat
Downloading GitHub repo dmcable/RCTD@HEAD
✓ checking for file ‘/private/var/folders/2d/tvx5105j0_d4k4y0rdpj70jc0000gn/T/RtmpNUKHck/remotes21e24192a771/dmcable-RCTD-b81bdfe/DESCRIPTION’ ...
─ preparing ‘RCTD’:
✓ checking DESCRIPTION meta-information ...
─ installing the package to build vignettes
E creating vignettes (8.3s)
--- re-building ‘spatial-transcriptomics.Rmd’ using rmarkdown
Quitting from lines 119-121 (spatial-transcriptomics.Rmd)
Error: processing vignette 'spatial-transcriptomics.Rmd' failed with diagnostics:
缺少参数"cell_type_names",也没有缺省值
--- failed re-building ‘spatial-transcriptomics.Rmd’
SUMMARY: processing the following file failed:
‘spatial-transcriptomics.Rmd’
错误: Vignette re-building failed.
停止执行
错误: Failed to install 'RCTD' from GitHub:
System command 'R' failed, exit status: 1, stdout + stderr (last 10 lines):
E> Quitting from lines 119-121 (spatial-transcriptomics.Rmd)
E> Error: processing vignette 'spatial-transcriptomics.Rmd' failed with diagnostics:
E> 缺少参数"cell_type_names",也没有缺省值
E> --- failed re-building ‘spatial-transcriptomics.Rmd’
E>
E> SUMMARY: processing the following file failed:
E> ‘spatial-transcriptomics.Rmd’
E>
E> 错误: Vignette re-building failed.
E> 停止执行
when I set build_vignettes = F
, installation is successful.
##################################
there are some mistakes in create.RCTD
, error information is same with above report:
> myRCTD <- create.RCTD(puck, reference, max_cores = 1)
[1] "Begin: process_cell_type_info"
[1] "process_cell_type_info: number of cells in reference: 475"
[1] "process_cell_type_info: number of genes in reference: 384"
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25
Error in get_cell_type_info(reference@counts, reference@cell_types, reference@nUMI, :
缺少参数"cell_type_names",也没有缺省值
I checked function create.RCTD
and found some mistakes might result in the error :
cell_type_info <- list(info = process_cell_type_info(reference, cell_type_names = cell_type_names, CELL_MIN = CELL_MIN_INSTANCE), renorm = NULL)
was the step result in error. I found that process_cell_type_info
calls get_cell_type_info
. but there isn't a default value of cell_type_names
. I just think that you should add cell_type_names =cell_type_names
in
cell_type_info <- list(info = process_cell_type_info(reference, cell_type_names = cell_type_names,
CELL_MIN = CELL_MIN_INSTANCE), renorm = NULL)
get_cell_type_info
. it seems to result from rowSums
, which input must be at least two columns.function error result in failure of Vignette re-building.
regards!
Hi, I got the error in installation of
RCTD
. the error information is :it seems to be somthing like dependency packages of
RCTD
was installed as dependence of other packages at past, and dependence packages version was not suitable. I can't find where the packageReference
are. my R environment is :Is there any sugggestion for me ?