Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dengchunyu committed Nov 21, 2023
1 parent fb835fb commit 569ed1a
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .Rhistory
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
legend.key = element_rect(colour = NA, fill = NA), axis.ticks = element_blank(),
plot.margin = unit(c(0, 0, 0, 0), "points")
)
p <- p + coord_cartesian(xlim = xlims, ylim = ylims, expand = FALSE, default = T)
Expand Down Expand Up @@ -510,3 +509,4 @@ head(block_annotation_hg37)
block_annotation_hg37[1:10,]
block_annotation_hg37[1:20,]
dim(block_annotation_hg37)
library(scPagwas)
Empty file added R/.Rhistory
Empty file.
6 changes: 0 additions & 6 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ install.packages("ggpubr")
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("GenomicRanges")
BiocManager::install("IRanges")

devtools::install_github("sulab-wmu/scPagwas")
```
Expand All @@ -54,11 +53,6 @@ In many cases, installing packages using `devtools::install_github` may fail.
library(devtools)
install_git("https://github.com/sulab-wmu/scPagwas.git", ref = "main")
```
Or, download the package file from [here](https://api.github.com/repos/sulab-wmu/scPagwas/tarball/HEAD)
Then install it locally.
```r
devtools::install_local("sulab-wmu-scPagwas-****.tar.gz")
```


## Usage
Expand Down
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ install.packages("ggpubr")
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("GenomicRanges")
BiocManager::install("IRanges")

devtools::install_github("sulab-wmu/scPagwas")
```
Expand All @@ -49,14 +48,6 @@ library(devtools)
install_git("https://github.com/sulab-wmu/scPagwas.git", ref = "main")
```

Or, download the package file from
[here](https://api.github.com/repos/sulab-wmu/scPagwas/tarball/HEAD)
Then install it locally.

``` r
devtools::install_local("sulab-wmu-scPagwas-****.tar.gz")
```

## Usage

quick-start example:
Expand Down
1 change: 1 addition & 0 deletions inst/extdata/plot_scpathway_contri_dot.R
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ plot_scpathway_dot <- function(Pagwas,
spe <- unique(spe2$path)

######### 合并产生画图函数
spe<-intersect(rownames(proportion_df),spe)
scPathrankP <- scPathrankP[spe, celltypes]
proportion_df <- proportion_df[spe, celltypes]
proportion_df <- as.data.frame(proportion_df)
Expand Down

0 comments on commit 569ed1a

Please sign in to comment.