Skip to content

Commit 9e87b42

Browse files
committed
website updated
1 parent d117e33 commit 9e87b42

File tree

4 files changed

+23
-16
lines changed

4 files changed

+23
-16
lines changed

docs/articles/rCNV.html

+15-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/pkgdown.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ pkgdown: 2.1.0
33
pkgdown_sha: ~
44
articles:
55
rCNV: rCNV.html
6-
last_built: 2024-09-16T12:38Z
6+
last_built: 2024-09-16T14:11Z

docs/search.json

+1-1
Large diffs are not rendered by default.

vignettes/rCNV.Rmd

+6-6
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ head(rels)
112112

113113
From the relatedness plots, we can see that the relatedness in Parrot fish samples is low. We recommend removing one sample of the pairs with outlier values above 0.9.
114114

115-
![](relatedness.png){width=40%} ![](h.zygosity.png){width=40%}
115+
![sample relatedness](relatedness.png){width=40%} ![sample heterozygosity](h.zygosity.png){width=40%}
116116

117117
Figure 1.3. a. Relatedness among samples, b. Heterozygosity in Parrotfish populations
118118

@@ -178,18 +178,18 @@ a. Allele ratios (across all samples), b. Proportions of homo-/hetero-zygotes pe
178178

179179
Alternative allele ratio is calculated across all the samples from depth values; Proportion of homo/hetero-zygotes are also calculated across all the samples per SNP; Depth ratio is calculated per individual per SNP by dividing the alternative allele depth value by the total depth value of both alleles. This is calculated for both heterozygotes and homozygotes; the Z-score per SNP is calculated according to the following equation:
180180

181-
![](Z2.1.svg)
181+
![z-sqr](Z2.1.svg)
182182

183-
![](Z2.2.svg)
183+
![z-squre2](Z2.2.svg)
184184

185185
Where *N<sub>i</sub>* is the total depth for heterozygote *i* at SNP *x*, *N<sub>Ai</sub>* is the alternative allele read depth for heterozygote *i* at SNP *x*,
186186
*p* is the probability of sampling allele *A* in SNP *x* - for unbiased sequencing, this is *0.5*. The `allele.info()` function calculates this for both *0.5* and biased probability using the ratio between reference and alternative alleles.
187187

188188
The Chi-squared values per SNP per sample were calculated using the following equation:
189189

190-
![](chi2.1.svg)
190+
![chi-sqr](chi2.1.svg)
191191

192-
![](chi2.2.svg)
192+
![chi-sqr2](chi2.2.svg)
193193

194194
Where *N<sub>i</sub>* is the total depth for heterozygote *i* at SNP *x*, *N<sub>Ai</sub>* is the alternative allele read-depth for heterozygote *i* at SNP *x*, *p* is the probability of sampling allele *A* at SNP *x* in heterozygotes - in unbiased sequencing, this is *0.5*, *n* is the number of heterozygotes at SNP *x*.
195195

@@ -273,7 +273,7 @@ table(CV$dup.stat)
273273
We test the validity of detected duplicates in two ways: 1. direct detection through a sliding window and 2. variant fixation index
274274

275275
* The sliding window method assess the duplication along chromosomes/scaffolds on a given size (e.g., 10,000 bp) sliding window. This step assumes that ideally, if a locus is truly located in a multi-copy region, close-by SNPs should also be classified as deviants while deviation caused by sequencing error should be more scattered along the genome. The putative duplicates that do not follow this assumption will be flagged as low-confident and can be removed if desired. The function `dup.validate` in the rCNV package is dedicated to detecting regions enriched for deviant SNPs within a sliding window along a chromosome, scaffold, or a sequence of any given length.
276-
** Check the function example in the package for how to use it. Note that this method is still being tested **
276+
**Check the function example in the package for how to use it. Note that this method is still being tested**
277277

278278
* Variant fixation index ($V_{ST}$ : Redon et al. 2006) is analogous to population fixation index ($F_{ST}$) and calculated as $V_{ST} = V_S/V_T$ where $V_T$ is the variance of normalized read depths among all individuals from the two populations and VS is the average of the variance within each population, weighed for population size; and used to identify distinct CNV groups between populations (See Dennis et al., 2017; Weir & Cockerham, 1984)
279279
The function `vst` can be used to calculate the $V_{ST}$ values per population and plot genetic distance in a network qgraph.

0 commit comments

Comments
 (0)