67 const SvgOptions& options = {});
84 const HtmlOptions& options = {});
118 const HtmlOptions& options,
const std::string&
id);
129 const std::string& chain,
size_t example,
const HtmlOptions& options = {});
Self-contained HTML views of the viz documents (VIZ-3): interactive Vega-Lite charts with tooltips,...
Definition acquisition_functions.hpp:16
std::string RenderMutationMapSvg(const MutationMapDocument &doc, const SvgOptions &options={})
A mutation map: a row per letter of the alphabet, a column per residue, each cell colored by its scor...
std::string RenderResidueTracksHtml(const ResidueTracksDocument &doc, const HtmlOptions &options={})
std::string RenderFeatureDashboardHtml(const FeatureDashboardDocument &doc, const HtmlOptions &options={}, const std::string &extra_html="")
The feature's statistics, its activation histogram, and its top examples with each token shaded by it...
std::string RenderStructureHtml(const std::string &structure, const std::string &chain, const ResidueTracksDocument &tracks, const HtmlOptions &options={})
A 3D structure, drawn as a cartoon with 3Dmol.js, with the residues of chain colored by one of tracks...
constexpr const char * k3DmolVersion
The 3Dmol.js version the structure page loads.
Definition protein_views.hpp:27
std::string RenderResidueTracksSvg(const ResidueTracksDocument &doc, const SvgOptions &options={})
Residue tracks: a ruler and the sequence, then a row of colored cells per track (signed tracks diverg...
std::string StructurePanelHtml(const std::string &structure, const std::string &chain, const ResidueTracksDocument &tracks, const HtmlOptions &options, const std::string &id)
RenderStructureHtml's viewer as a fragment to place in any page: the track menu, the legend,...
std::string RenderContactMapHtml(const ContactMapDocument &doc, const ContactMapViewOptions &view={}, const HtmlOptions &options={})
std::string RenderSequenceLogoHtml(const SequenceLogoDocument &doc, const HtmlOptions &options={})
std::string RenderMutationMapHtml(const MutationMapDocument &doc, const HtmlOptions &options={})
std::string RenderContactMapSvg(const ContactMapDocument &doc, const ContactMapViewOptions &view={}, const SvgOptions &options={})
A contact map: one square, residue against residue. Above the diagonal, the predicted scores (white t...
std::string RenderSequenceLogoSvg(const SequenceLogoDocument &doc, const SvgOptions &options={})
A sequence logo: at each position, the letters stacked to the position's information content in bits ...
Viz documents for proteins (PLM-5): the mutation map, the sequence logo, the contact map and residue ...
pulsatrix.feature_dashboard.v1: one learned feature (for example a sparse autoencoder unit) with its ...
Definition document.hpp:204
Options for every HTML view.
Definition html.hpp:36
pulsatrix.mutation_map.v1: a score for every substitution, residue by residue, such as a model's log-...
Definition protein_documents.hpp:31
pulsatrix.residue_tracks.v1: per-residue signals stacked under a sequence, and annotated stretches (d...
Definition protein_documents.hpp:137
pulsatrix.sequence_logo.v1: a distribution over letters at each residue, such as what a masked langua...
Definition protein_documents.hpp:62
Options shared by every SVG chart.
Definition svg.hpp:29
Dependency-free SVG figures from viz documents: bar, waterfall, heatmap, token strip,...