Skip to content

Commit 2b6f6ba

Browse files
committed
Add SOG_COI to the taxa count Rscript
1 parent 1298ec4 commit 2b6f6ba

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

01_scripts/uniq_taxa_per_site.R

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,23 @@
22

33
#rm(list=ls())
44

5+
# Plotting parameters
56
par(mfrow=c(2,3), mar= c(4,3,3,1) + 0.2, mgp = c(2,0.75,0))
67
options(scipen = 9999999)
78

89
# Choose dataset
9-
datatypes <- c("C3_val", "C3_COI", "C3_16s", "SOG_val", "SOG_16s")
10+
datatypes <- c("C3_val", "C3_COI", "C3_16s", "SOG_val", "SOG_COI", "SOG_16s")
1011

1112
# Collect information of uniq taxa and total reads per site
1213
# Also plots uniq taxa by read count
1314

14-
# Set Nulls
15+
# Set nulls
1516
taxa.read.counts.list <- list(); uniq.taxa <- NULL; reads.per.site <- NULL
1617

1718
for(d in datatypes){
19+
1820
# Set working directory
19-
working.dir <- paste("~/Documents/03_eDNA/eDNA_metabarcoding_", d, sep = "")
21+
working.dir <- paste("/hdd/03_eDNA/eDNA_metabarcoding_", d, sep = "")
2022
setwd(working.dir)
2123

2224
# Import filename for the 'x count' filtered count file

0 commit comments

Comments
 (0)