Skip to content
/ R Public

Set of small R scripts helpful in various bioinformatics projects

Notifications You must be signed in to change notification settings

jakalssj3/R

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

A set of small R scripts helpful in various bioinformatics projects, e.g. in analyses of differential gene expression, gene ontology (GO) annotation, etc.


Draw GO donut pie chart

Input file format:

GO_term1  20
GO_term2  15
GO_term3  1
GO_term4  1

Usage:

Rscript draw_GO_donut_piechart.R molecular_function.txt "GO: molecular function"

or

./draw_GO_donut_piechart.R molecular_function.txt "GO: molecular function"

Result: Image of presence/absence matrix


Draw gene presence/absence matrix

Input file format:

  gene1	gene2	gene3
genome1	1	0	1
genome2	1	1	1
genome3	1	1	0

Usage:

Rscript ./draw_presence_absence_matrix.R presence_absence_matrix.txt

or

./draw_presence_absence_matrix.R presence_absence_matrix.txt

Result: Image of presence/absence matrix

Releases

No releases published

Packages

No packages published

Languages