Comments (2)
Thanks your very much!
from astrobiomike.github.io.
Hi there, @XELong :)
If you want to be able to follow the tutorial with your data, including all the things that use the color column (which is most of the plots), then you'd need to have a column called "color" sample_info_tab, and it needs to hold names of colors based on the groups you care about. You can do this outside of R if it's easier, and then just read in the new sample_info.tsv that has the color column. If you look at the tutorial example data, you can see how that column is formatted, e.g., here is peaking at the file at the command-line:
So you'd want to add that column, with colors based on what makes sense for your data. For example, in the tutorial it's by what's the "char" column (water = blue; glassy = black; and so on). One place you can see a list of valid R colors and their names is at this page: https://r-graph-gallery.com/42-colors-names.html
If you don't have a "color" column that holds these color names for your data, then you will need to modify the code accordingly in many places. It's not as easy as me saying what to do where, unfortunately, it'd take running through all the exact code with the data files in order to make sure all different places are set accordingly. Sorry i don't have a version without colors
hope that helps
from astrobiomike.github.io.
Related Issues (20)
- Broader taxonomy resolution after distinguishing ASVs HOT 7
- Mistake, bug, or typo HOT 2
- New Topic Idea HOT 2
- Error in installing sabre HOT 3
- De novo genome assembly HOT 3
- REgarding the full example workflow DADA2 HOT 2
- suggestion HOT 2
- Tutorial on Filtering Host Reads - just a thoughtNew Topic Idea HOT 2
- Support for SILVA v138.1 HOT 2
- Genus/Family-based stacked bar charts HOT 3
- decontam bug in subsetting fasta file when there are no contaminants HOT 1
- Dada2 merging doubt HOT 4
- How to define vector for decontam in a merged sequence table? HOT 3
- Mistake when running the protocol HOT 6
- Deseq error HOT 2
- Error in # generating and visualizing the PCoA with phyloseq HOT 2
- Phylogenetic tree construction HOT 1
- Nano issue HOT 1
- Mistake, bug, or typo HOT 3
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 astrobiomike.github.io.