Open
Conversation
Member
|
不能只有代码,给一个可以写到文档里的,可以运行重复出来的例子。 |
R/runSCENIC.R
Outdated
| minCountsPerGene = 3, | ||
| minSamples = 0.01){ | ||
| dir.create("int") | ||
| # 设置物种和TF数据库路径 |
SCENIC.Rmd
Outdated
| library(sclet) | ||
|
|
||
| # use demo data from SCENIC, mousebrain_sce | ||
| sce <- readRDS("data/mousebrain_SCENIC_sce.Rds") |
Member
There was a problem hiding this comment.
我说要一个可以重复的例子,你觉得这个可以重复?数据只在你的电脑里。
SCENIC.Rmd
Outdated
| # use demo data from SCENIC, mousebrain_sce | ||
| sce <- readRDS("data/mousebrain_SCENIC_sce.Rds") | ||
| scenicOptions <- runSCENIC(sce, mouse, 10, | ||
| ``` |
Member
There was a problem hiding this comment.
示例和代码是分开的,示例放的是这个分支,https://github.com/YuLab-SMU/sclet/tree/gh-pages.
Member
There was a problem hiding this comment.
写示例,不是写一个简单的代码,你看,能跑通。例子需要解说。对于输入、输出、结果解说,尽可能详细地把事情说清楚。
| ## code to prepare `DATASET` dataset goes here | ||
|
|
||
| load("./inst/ext/defaultDbNames.RData") | ||
| usethis::use_data(defaultDbNames, overwrite = TRUE) |
Member
There was a problem hiding this comment.
这个数据集并不需要。你的代码里并没有访问到这个数据,而是使用SCENIC::defaultDbNames访问的。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.