Generate documentation for a secondary analysis