Skip to content

krzamiela/microbiome_dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

From raw tab-separated QIIME and taxa files, the following data manipulations should be performed prior to uploading the data:

Import files

#| label: import-files
#| message: false

v1_v3_taxa <- read_tsv(params$v1_v3_taxa)
v1_v3_qiime <- read_tsv(params$v1_v3_qiime)
v3_v4_taxa <- read_tsv(params$v3_v4_taxa)
v3_v4_qiime <- read_tsv(params$v3_v4_qiime)

Clean data

#| label: clean-data
#| message: false

# remove non-breast cancer study-related samples
v1_v3_qiime_bc <- v1_v3_qiime %>%
  select("Taxa", matches("^(BC|MBC)"))

v3_v4_qiime_bc <- v3_v4_qiime %>%
  select("Taxa", matches("^(BC|MBC)"))

Join taxa

#| label: join-taxa
#| message: false

# Total count across samples
v1_v3_qiime_bc_taxa <- v1_v3_qiime_bc_taxa %>%
  mutate("Total Count" = rowSums(across(where(is.numeric))))

v3_v4_qiime_bc_taxa <- v3_v4_qiime_bc_taxa %>%
  mutate("Total Count" = rowSums(across(where(is.numeric))))

About

Microbiome data from stool samples was sequenced using the 16S region. Two hypervariable regions were used, V1-V3 and V3-V4.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages