Comments (4)
Hi Amy,
I'm glad you're finding microViz helpful 😄
Sending the data would be interesting if you can.
My guess is that the problem might involve NAs. (which ps_dedupe currently doesn't warn about, oops... I'll fix that regardless)
Are there any NAs in any of these variables in your data?
c("Individual.ID", "year", "month", "day")
A workaround for now could be to paste together those variables into one, before using ps_dedupe with that one new variable.
test <- ps.sp %>%
ps_mutate(uniqueString = paste(Individual.ID, year, month, day)) %>%
ps_dedupe(vars = "uniqueString", method = "readcount")
Does something like that give the expected result?
from microviz.
from microviz.
Hi Amy, thanks for the response and sharing your workaround, the use of slice_max gave me ideas for how to improve the new version of ps_dedupe, which will be available in the next microViz version 👍
I didn't get the data attachment, I think you have to attach it on github itself, not email.
from microviz.
from microviz.
Related Issues (20)
- comp_barplot of raw abundances HOT 2
- some GUSTAME site links have changed HOT 1
- Logical variable becomes numeric when plotting CCA HOT 2
- how can i order my samples and show their names? HOT 3
- Cannot build PCoA plot using ord_plot HOT 2
- dominant taxa in each sample HOT 2
- phylogenetic tree disappeared after tax_transform() step HOT 2
- Annotated heatmaps - error in sample_anno HOT 4
- Taxa cannot be aggregated at rank: Genus HOT 2
- cor_heatmap taxon_renamer or alternative option for labeling rows HOT 3
- comp_barplot seem to have issues with domain being unknown HOT 2
- Error in access(object, "otu_table", errorIfNULL) : otu_table slot is empty. HOT 2
- Strange behaviour when using comp_barplot with facet_grid HOT 2
- tax.fix(), and "Problematic Genus values detected in tax_table" HOT 3
- [FR] Add sankey/alluvial plots to visualize abundances HOT 2
- Tax_fix no non-unknown values HOT 1
- Labelling samples in ord_plot PCoA HOT 1
- Use of custom transofmration in linear models. HOT 1
- Can I make a correlation heatmap between taxa and categorical variable? HOT 1
- comp_barplot reduce/remove space between axes and bars
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microviz.