Commit 10ba06b8 authored by Guangchuang Yu's avatar Guangchuang Yu
Browse files

update

parent 90a8a1a6
Loading
Loading
Loading
Loading

.Rbuildignore

0 → 100644
+1 −0
Original line number Diff line number Diff line
Makefile
+23 −8
Original line number Diff line number Diff line
Package: scplot
Title: What the Package Does (One Line, Title Case)
Version: 0.0.0.9000
Authors@R: 
    person("First", "Last", , "first.last@example.com", role = c("aut", "cre"),
           comment = c(ORCID = "YOUR-ORCID-ID"))
Description: What the package does (one paragraph).
License: `use_mit_license()`, `use_gpl3_license()` or friends to pick a
    license
Title: Visualizing single cell data
Version: 0.0.1
Authors@R: c(
       person("Guangchuang", "Yu",     email = "guangchuangyu@gmail.com", role = c("aut", "cre", "cph"), comment = c(ORCID = "0000-0002-6485-8781")),
       person("Shuangbin", "Xu",       email = "xshuangbin@163.com",      role = "aut", comment = c(ORCID="0000-0003-3513-5362"))
       )
Description: Useful functions to visualize single cell data.
Imports:
  dplyr,
  ggplot2,
  rlang,
  scattermore,
  SeuratObject,
  tidydr,
  tidyr,
  utils
Suggests:
  knitr,
  rmarkdown,
  prettydoc
VignetteBuilder: knitr
ByteCompile: true
License: Artistic-2.0
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.1

Makefile

0 → 100644
+45 −0
Original line number Diff line number Diff line
PKGNAME := $(shell sed -n "s/Package: *\([^ ]*\)/\1/p" DESCRIPTION)
PKGVERS := $(shell sed -n "s/Version: *\([^ ]*\)/\1/p" DESCRIPTION)
PKGSRC  := $(shell basename `pwd`)

all: rd check clean

alldocs: rd readme mkdocs

rd:
	Rscript -e 'roxygen2::roxygenise(".")'

readme:
	Rscript -e 'rmarkdown::render("README.Rmd")'

readme2:
	Rscript -e 'rmarkdown::render("README.Rmd", "html_document")'

build:
	cd ..;\
	R CMD build $(PKGSRC)

build2:
	cd ..;\
	R CMD build --no-build-vignettes $(PKGSRC)

install:
	cd ..;\
	R CMD INSTALL $(PKGNAME)_$(PKGVERS).tar.gz

check: build
	cd ..;\
	Rscript -e 'rcmdcheck::rcmdcheck("$(PKGNAME)_$(PKGVERS).tar.gz")'

check2: build
	cd ..;\
	R CMD check $(PKGNAME)_$(PKGVERS).tar.gz

bioccheck:
	cd ..;\
	Rscript -e 'BiocCheck::BiocCheck("$(PKGNAME)_$(PKGVERS).tar.gz")'

clean:
	cd ..;\
	$(RM) -r $(PKGNAME).Rcheck/
+25 −0
Original line number Diff line number Diff line
# Generated by roxygen2: do not edit by hand

S3method(ggplot_add,sc_dim_geom_label)
export(sc_dim)
export(sc_dim_geom_feature)
export(sc_dim_geom_label)
export(sc_feature)
export(sc_geom_point)
export(sc_violin)
importFrom(SeuratObject,FetchData)
importFrom(ggplot2,aes_string)
importFrom(ggplot2,element_blank)
importFrom(ggplot2,element_text)
importFrom(ggplot2,facet_wrap)
importFrom(ggplot2,geom_violin)
importFrom(ggplot2,ggplot)
importFrom(ggplot2,ggplot_add)
importFrom(ggplot2,ggtitle)
importFrom(ggplot2,rel)
importFrom(ggplot2,scale_color_gradient)
importFrom(ggplot2,theme)
importFrom(ggplot2,theme_bw)
importFrom(rlang,.data)
importFrom(scattermore,geom_scattermore)
importFrom(tidydr,theme_dr)
importFrom(tidyr,pivot_longer)
importFrom(utils,modifyList)

NEWS.md

0 → 100644
+3 −0
Original line number Diff line number Diff line
# scplot 0.0.1

+ `sc_dim`, `sc_dim_geom_feature`, `sc_dim_geom_label`, `sc_feature`, `sc_geom_point` and `sc_violin` functions (2022-11-09, Wed)
Loading