-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_pkgdown.yml
More file actions
181 lines (175 loc) · 4.9 KB
/
_pkgdown.yml
File metadata and controls
181 lines (175 loc) · 4.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
title: MRcare
url: https://chongwulab.github.io/MRcare
template:
bootstrap: 5
bootswatch: flatly # A light, clean theme as base
bslib:
primary: "#018D8D" # Teal-green similar to Nature's accent color
secondary: "#F2F2F2" # Light gray for subtle elements
success: "#8ECFC0" # Soft teal for success states
info: "#4C9EEB" # Light blue for information
warning: "#F2A057" # Amber for warnings
danger: "#E15759" # Soft red for errors
base_font: {google: "Lato"}
heading_font: {google: "Lato"}
code_font: {google: "Source Code Pro"}
bg-light: "#FFFFFF" # Pure white background
navbar-bg: "#FFFFFF"
navbar-light-brand-color: "#018D8D"
navbar-light-brand-hover-color: "#016D6D"
navbar-light-color: "#212121" # Darker text color for navbar links
navbar-light-hover-color: "#018D8D" # Teal color when hovering
navbar-light-active-color: "#018D8D" # Teal color for active links
includes:
in_header: |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css">
<style>
/* Nature-inspired styling */
body {
font-size: 16px;
line-height: 1.6;
color: #212121;
background-color: #FFFFFF;
}
h1, h2, h3, h4, h5, h6 {
color: #212121;
font-weight: 400;
}
h1 {
font-size: 2.2rem;
border-bottom: 1px solid #E0E0E0;
padding-bottom: 0.5rem;
}
h2 {
font-size: 1.8rem;
margin-top: 2rem;
}
h3 {
font-size: 1.4rem;
}
.navbar {
border-bottom: 1px solid #E0E0E0;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
/* Improve navbar link visibility */
.navbar-light .navbar-nav .nav-link {
color: #212121;
font-weight: 500;
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
color: #018D8D;
}
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active {
color: #018D8D;
font-weight: 600;
}
/* Rest of your styles */
pre {
background-color: #F8F8F8;
border: 1px solid #E0E0E0;
border-radius: 4px;
}
code {
color: #018D8D;
background-color: #F8F8F8;
}
a {
color: #018D8D;
text-decoration: none;
}
a:hover {
color: #016D6D;
text-decoration: underline;
}
.card {
border: 1px solid #E0E0E0;
border-radius: 4px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
transform: translateY(-2px);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
footer {
border-top: 1px solid #E0E0E0;
padding-top: 1.5rem;
color: #757575;
}
.table {
border: 1px solid #E0E0E0;
}
.table thead {
background-color: #F5F5F5;
}
</style>
opengraph:
image:
src: man/figures/logo.png
alt: "MRcare logo"
twitter:
creator: "@yourtwitterhandle"
card: summary_large_image
development:
mode: auto
version_label: info
version_tooltip: "MRcare version"
navbar:
type: light
bg: light
structure:
left: [reference, articles, tutorials, news]
right: [search, github]
components:
github:
icon: fab fa-github fa-lg
href: https://github.com/ChongWuLab/MRcare
aria-label: GitHub
search:
enabled: true
engine: lunr
home:
sidebar:
structure: [links, license, community, citation, authors, dev]
components:
citation:
title: Citation
text: >
Zhongming Xie, Wanheng Zhang, Jingshen Wang, and Chong Wu (2025+). Winner's Curse Free Robust Mendelian Randomization with Summary Data. Journal of the American Statistical Association.
reference:
- title: "Package Documentation"
desc: "Package overview and introduction"
contents:
- MRcare-package
- title: "Main Functions"
desc: "Primary functions for MR analysis"
contents:
- mr_care
- RIVW
- CARE2_boot
- title: "Data Processing"
desc: "Functions for preprocessing GWAS data"
contents:
- preprocess_gwas_data
- title: "Configuration"
desc: "Configuration functions"
contents:
- configure_mrcare
- get_mrcare_config
- check_hf_connection
- title: "Visualization"
desc: "Functions for visualizing results"
contents:
- plot_care
- plot_scatter
- plot_funnel
- plot_combined
- title: "Utility Functions"
desc: "Helper functions and methods"
contents:
- summary.mrcare
- print.mrcare
- format_care_results
- extract_independent_variants