ggiconzy

Here is a collection of icons you can plot together with you ggplot objectives, with demo code of how to cooperate them in your plot. Hope you enjoy using it and I will keep update it when I have time. Also, expecting contribution from you!

https://github.com/yzhong005/ggiconzy

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.1%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Here is a collection of icons you can plot together with you ggplot objectives, with demo code of how to cooperate them in your plot. Hope you enjoy using it and I will keep update it when I have time. Also, expecting contribution from you!

Basic Info
  • Host: GitHub
  • Owner: yzhong005
  • Language: R
  • Default Branch: main
  • Size: 3.19 MB
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Created over 2 years ago · Last pushed about 2 years ago
Metadata Files
Readme Citation

README.md

ggiconZY

Here is a collection of icons you can plot together with your ggplot objectives, with demo code of how to incorporate them in your plot. Hope you enjoy using it and I will keep updating it when I have time. Also, expecting contributions from you!

You can download the .csv datasets first and read them in R

Here are some demo code for usage

```R library(tidyverse) library(ggplot2) library(ggsci) library(ggpubr)

read the .csv files in R first

miceline<-read.csv("./miceline.csv") # put the download path (.csv file location) before mice_line.csv, or setwd() to the file path first.

plot the mice line plot alone with ggplot

mice<-ggplot(miceline,aes(x,y))+ geompoint(size=1E-200)+ themevoid()+ coordequal()

mice ```

```R

plot within other ggplots

A<-data.frame(x=sample(1:100,30),y=sample(150:400,30),color=LETTER[1:3]) # generate a demo dataframe

ggplot(A,aes(x,y,color=color))+ geompoint(size=6)+ # plot the point plot of dataframe A themeclassic()+ scalecoloraaas()+ # add beautiful color of the point annotationcustom(ggplotGrob(mice),xmin=0,xmax=25,ymin=350,ymax=400) # add the mice plot to the left up conner of the plot, you can change the position of mice plot with xmin, xmax, ymin, and ymax. ```

<img src="https://github.com/yzhong005/ggiconZY/blob/main/User%20manual/demopoint_mice.png" width="800" height="800" />

More demo code for usage can be find in manual

Citation

If you use this project in your research, please cite it as follows:

Zhong, Yang. (2023). ORCID: "https://orcid.org/0000-0002-9146-0875". ggiconZY. Version 1.0.0. Date-released: 2023-11-13. Available at URL: "https://github.com/yzhong005/ggiconZY"

or

View the CITATION.cff file

Owner

  • Name: Yang
  • Login: yzhong005
  • Kind: user

Wet lab to dry lab. Self-learn R. Bacterial genomic analysis.

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this dataset and demo code, please cite it as below."
authors:
- family-names: "Zhong"
  given-names: "Yang"
  orcid: "https://orcid.org/0000-0002-9146-0875"

title: "ggiconZY"
version: 1.0.0
doi: 10.5281/zenodo.1234
date-released: 2023-11-13
url: "https://github.com/yzhong005/ggiconZY"

GitHub Events

Total
Last Year