Getting Started
Installation
Loading your data
pavvis requires two CSV files to generate a PavMatrix object. The PavMatrix class is central to the
pavvis workflow.:
- PAV matrix — genes as rows, samples as columns, values must be
0or1, i.e a binary matrix. - Metadata — samples as rows, any number of metadata columns
| Building a PavMatrix object | |
|---|---|
File formats
For examples of how these files should be formatted, see the concepts page.
When building the PavMatrix() class, pavvis will automatically validate that:
- Both files exist on the system
- Sample IDs of the PAV matrix columns match the metadata row indexes
- All PAV values are binary (
0or1) with no blank cells
Exploring your data
Now you have generated a PavMatrix object, you can explore basic summary statistics using the class attributes.
First plot
Aside from allowing the user to easily group and summarise their data, the pavvis package also provides functions that
allow the user to generate plots for thier data. All of these functions are contained in the plots module.
| Build histograms to summarise gene presence in your PavMatrix | |
|---|---|