Skip to content

Commit

Permalink
Update 13-16S_seq.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lkalmar committed Oct 31, 2024
1 parent c0189a5 commit 0e12a90
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions materials/13-16S_seq.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ In the first line we define the path to our data folder, followed by reading the
path <- "FIX/ME"
fnFs <- sort(list.files(path, pattern="_1.fastq.gz", full.names = TRUE))
fnRs <- sort(list.files(path, pattern="_2.fastq.gz", full.names = TRUE))
sample.names <- sapply(strsplit(basename(fnFs), "_"), `[`, 6)
sample.names <- sapply(strsplit(basename(fnFs), "_"), `[`, 1)

```

Expand Down Expand Up @@ -229,8 +229,6 @@ We are loading in the sample metadata from an external excel file and will use t
metadata <- read_excel("FIX/ME/Fecal_Sample_Collection.xlsx",
sheet = "Metadata")
metadata <- metadata %>% as.data.frame() %>% column_to_rownames(var = "Sample_ID")
sample.names <- sapply(strsplit(rownames(seqtab.nochim), "lane1RebeccaR"), `[`, 2)
rownames(seqtab.nochim) <- sample.names
seqtab.nochim <- seqtab.nochim %>% as.data.frame()
```

Expand Down

0 comments on commit 0e12a90

Please sign in to comment.