Skip to content

Latest commit

 

History

History
47 lines (39 loc) · 1.08 KB

README.md

File metadata and controls

47 lines (39 loc) · 1.08 KB

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