We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
subset_metabarlist <- function(metabarlist, table, indices)
would become
subset_metabarlist <- function(metabarlist, table, indices, simplify=TRUE)
=================
when simplify=FALSE, do not remove any columns in the reads table:
reads <- reads[, colSums(reads) > 0, drop = F]
reads <- reads[, (colSums(reads) > 0) & simplify, drop = F]
usefull when you want to compare the reads table of two subseted metabarlist that were originally the same:
Example:
soil_euk2 <- soil_euk soil_euk2$reads <- corrected
metabaR::ggpcrtag(soil_euk2) metabaR::ggpcrtag(soil_euk)
s1<- subset_metabarlist(soil_euk, 'pcrs', {v <- soil_euk$pcrs$control_type=="sequencing";v[is.na(v)]<-F;v}) s2 <- subset_metabarlist(soil_euk2, 'pcrs', {v <- soil_euk$pcrs$control_type=="sequencing";v[is.na(v)]<-F;v})
The text was updated successfully, but these errors were encountered:
No branches or pull requests
subset_metabarlist <- function(metabarlist, table, indices)
would become
subset_metabarlist <- function(metabarlist, table, indices, simplify=TRUE)
=================
when simplify=FALSE, do not remove any columns in the reads table:
reads <- reads[, colSums(reads) > 0, drop = F]
would become
reads <- reads[, (colSums(reads) > 0) & simplify, drop = F]
=================
usefull when you want to compare the reads table of two subseted metabarlist that were originally the same:
Example:
soil_euk2 <- soil_euk
soil_euk2$reads <- corrected
metabaR::ggpcrtag(soil_euk2)
metabaR::ggpcrtag(soil_euk)
s1<- subset_metabarlist(soil_euk, 'pcrs', {v <- soil_euk$pcrs$control_type=="sequencing";v[is.na(v)]<-F;v})
s2 <- subset_metabarlist(soil_euk2, 'pcrs', {v <- soil_euk$pcrs$control_type=="sequencing";v[is.na(v)]<-F;v})
s(1|2)$reads and s(1|2)$motus tables are not easily comparable
The text was updated successfully, but these errors were encountered: