Skip to content

Commit

Permalink
fixing the risk_ccfa data object
Browse files Browse the repository at this point in the history
  • Loading branch information
michellepistner committed May 20, 2024
1 parent c071bdc commit 205ab36
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion R/RISK_CCFA.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
#' @docType data
#' @name RISK_CCFA
#' @usage data(RISK_CCFA)
#' @format A phyloseq object.
#' @format An otu table, sample data table, and taxonomy table.
#' @references Gevers D, et al. The treatment-naive microbiome in new-onset Crohn's disease. Cell Host Microbe. 2014 Mar 12;15(3):382-392. doi: 10.1016/j.chom.2014.02.005. PMID: 24629344; PMCID: PMC4059512.
NULL
Binary file added data/RISK_CCFA.RData
Binary file not shown.
Binary file removed data/RISK_CCFA.rda
Binary file not shown.
2 changes: 1 addition & 1 deletion man/RISK_CCFA.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion vignettes/introduction-to-fido.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,11 @@ library(fido)
set.seed(899)

data(RISK_CCFA)

# making into a phyloseq object
CCFA_phylo <- phyloseq(otu_table(as.matrix(RISK_CCFA_otu), taxa_are_rows = TRUE), sample_data(RISK_CCFA_sam), tax_table(as.matrix(RISK_CCFA_tax)))
# drop low abundant taxa and samples
dat <- RISK_CCFA %>%
dat <- CCFA_phylo %>%
subset_samples(disease_stat!="missing",
immunosup!="missing") %>%
subset_samples(diagnosis %in% c("no", "CD")) %>%
Expand Down
5 changes: 4 additions & 1 deletion vignettes/introduction-to-fido.Rmd.orig
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,11 @@ library(fido)
set.seed(899)

data(RISK_CCFA)

# making into a phyloseq object
CCFA_phylo <- phyloseq(otu_table(as.matrix(RISK_CCFA_otu), taxa_are_rows = TRUE), sample_data(RISK_CCFA_sam), tax_table(as.matrix(RISK_CCFA_tax)))
# drop low abundant taxa and samples
dat <- RISK_CCFA %>%
dat <- CCFA_phylo %>%
subset_samples(disease_stat!="missing",
immunosup!="missing") %>%
subset_samples(diagnosis %in% c("no", "CD")) %>%
Expand Down

0 comments on commit 205ab36

Please sign in to comment.