Giter Club home page Giter Club logo

r_stuff's Introduction

R_stuff

01 mean 02 spearman

07. hist vs ggplot2 geom_histogram

see https://www.jianshu.com/p/16e2022c025d

data = read.csv("C:\\Users\\cy006\\Desktop\\01.R_test.csv", header=T)

ID = c(0,1,2,3,4,5)

Gender = c('male','female','male','female','male','female')

Height = c(178,156,170,158,168,155)

次数直方图或频数直方图,

hist(Height,freq = T)

频率直方图

hist(Height,freq = F)
NO.5
install.packages("ggplot2")
library(ggplot2)

ggplot(data, aes(x=Height, y=..count..  )) + geom_histogram(stat="bin", binwidth = 4, colour="black", fill="white")
ggplot(data, aes(x=Height, y=..density..)) + geom_histogram(stat="bin", binwidth = 4, colour="black", fill="white")

R_Graphics_Cookbook.R

is a book note of the "R Graphics Cookbook", learning ...

ggplot violin graph

igblast.result.visualization.R

for example

Rscript igblast.result.visualization.R
# may generate a pdf file with violin plot.

R Graphics Cookbook learning

R_Graphics_Cookbook.2.R is a note book.

Venn diagram

see: https://www.jianshu.com/p/05f4bae28443 Rscript venn.R <file1> <file2> ...
VennDiagram.pairwise.png VennDiagram.triple.png VennDiagram.quad.png VennDiagram.quintuple.png

basic boxplot

Rscript ggplot_boxplot_basic.R <file>

geom_boxplot

Rscript geom_boxplot.R <boxplot.data.txt> ... boxplot.png

correlation.R

there are two scripts to draw correlation graph. correlation.point.R correlation.point.log.R

correlation.R

Abundance_Accuracy.png

new correlation plot:

suitable for PPT, log scale, scientific axis lable.

SP54.SSP6.png

EnrichmentAnalysis

GO enrichment and KEGG enrichment analysis examples

Clustering Analysis practice

hierarchical clustering example 1:https://www.jianshu.com/p/f2413cdfd4f0
hierarchical clustering example 2:https://www.jianshu.com/p/4131fbf8cd3e
hierarchical clustering example 3:https://www.jianshu.com/p/60c490fe2a1f
K-means clustering example 1:https://www.jianshu.com/p/dfc6f9b13256
K-means clustering example 2:https://www.jianshu.com/p/eb9d6e9670c5

10X Genomics RNA-seq analysis

r_stuff's People

Contributors

levinyi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.