Skip to content

Commit

Permalink
adjust the length of some rd lines
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangpin committed Dec 17, 2024
1 parent 039a7d8 commit f2fb858
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 14 deletions.
13 changes: 8 additions & 5 deletions R/methods-fscore.R
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,15 @@
#' colnames(sce2) <- colnames(svpe)
#'
#' # Mocking up some relationship score between new feature and gene
#' fscore1 <- lapply(seq(nrow(sce1)), function(i) abs(rnorm(5, 0.5)) |> setNames(sample(rownames(svpe),5))) |>
#' List() |>
#' DataFrame() |> setNames("rwr_score")
#' fscore1 <- lapply(seq(nrow(sce1)), function(i) abs(rnorm(5, 0.5)) |>
#' setNames(sample(rownames(svpe),5))) |>
#' List() |>
#' DataFrame() |> setNames("rwr_score")
#' rownames(fscore1) <- rownames(sce1)
#' fscore2 <- lapply(seq(nrow(sce2)), function(i) abs(rnorm(5, 0.8)) |> setNames(sample(rownames(svpe),5))) |>
#' List() |> DataFrame() |> setNames("hyper_test")
#' fscore2 <- lapply(seq(nrow(sce2)), function(i) abs(rnorm(5, 0.8)) |>
#' setNames(sample(rownames(svpe),5))) |>
#' List() |>
#' DataFrame() |> setNames("hyper_test")
#' # Setting the score
#' fscoreDfs(sce1) <- list()
#' fscoreDfs(sce2) <- list()
Expand Down
3 changes: 2 additions & 1 deletion R/methods-sgsa.R
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@
#' #
#' # supporting the list with names or gson object or the gmt file
#' # online gmt file is also be supported
#' # such as https://data.broadinstitute.org/gsea-msigdb/msigdb/release/2023.2.Hs/c2.cp.biocarta.v2023.2.Hs.symbols.gmt
#' # such as
#' # https://data.broadinstitute.org/gsea-msigdb/msigdb/release/2023.2.Hs/h.all.v2023.2.Hs.symbols.gmt
#'
#' data(CellCycle.Hs)
#' sceSubPbmc <- runSGSA(sceSubPbmc, gset.idx.list = CellCycle.Hs, gsvaExp.name = 'CellCycle')
Expand Down
2 changes: 0 additions & 2 deletions data/datalist
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ SenMayoSymbol
sceSubPbmc
CellCycle.Hs
hpda_spe_cell_dec
pdac_a_sce
pdac_a_spe
13 changes: 8 additions & 5 deletions man/fscoreDfs.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/runSGSA-method.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f2fb858

Please sign in to comment.