Skip to content

Commit

Permalink
if one wishes to generate the html via make, I added the makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
abelew committed Oct 25, 2023
1 parent e03eaa5 commit 28424c9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions data/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.PHONY: all

OUTPUTS = tmrc.simg

cpm:
mkdir -p cpm/3_cali_and_tumaco cpm/4_cali cpm/4_tumaco excel figures rda rpkm

preprocessing/TMRC30001:
cd preprocessing && tar xaf pruned_counts_host.tar
cd preprocessing && tar xaf pruned_counts_parasite.tar
cd preprocessing && tar xaf scott_counts.tar

%.render: %.Rmd cpm preprocessing/TMRC30001
Rscript -e "hpgltools::renderme('$<', 'html_document')" \
2>&1 | tee $(basename $<).stdout

%.edit: %.Rmd
emacs -nw $<.Rmd

0 comments on commit 28424c9

Please sign in to comment.