Created
November 23, 2022 15:26
-
-
Save lwaldron/aca4b184183b15c2686f26a5508e52ee to your computer and use it in GitHub Desktop.
identify cMD datasets producing error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
suppressPackageStartupMessages(library(curatedMetagenomicData)) | |
sampleMetadata[sampleMetadata$study_name == "FengQ_2015", ] |> | |
returnSamples("relative_abundance", rownames = "NCBI") | |
allstudies <- unique(sampleMetadata$study_name) | |
allres <- sapply(allstudies, function(study) { | |
message(study) | |
try( | |
suppressMessages(sampleMetadata[sampleMetadata$study_name == study,] |> | |
returnSamples("relative_abundance", rownames = "NCBI"))) |> | |
class() | |
}) | |
names(allres)[allres == "try-error"] | |
BiocManager::version() | |
BiocManager::valid() | |
sessionInfo() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment