Description Usage Arguments Value Examples
View source: R/rlib_matrix_ls.R
Perform ascQTL in matrix form which can be used for obtaining nominal p-value
1 | matrix_ls_asc(asc1, asc2, x, asc_cutoff = 5, weight_cap = 100, asc_cap = 5000)
|
asc1 |
allele-specific read count for haplotype 1 (dimension = N x 1) |
asc2 |
allele-specific read count for haplotype 2 (dimension = N x 1) |
x |
'genotype' used in ascQTL (which is defined as x1 - x2) (dimension = N x P) |
asc_cutoff |
allele-specific read count cutoff to exclude observations with asc1 or asc2 lower than asc_cutoff |
weight_cap |
the maximum weight difference (in fold) is min(weight_cap, floor(sample_size / 10)). The ones exceeding the cutoff is capped. |
asc_cap |
exclude observations with asc1 or asc2 higher than asc_cap |
a list of summary statistics beta_hat: estimated log aFC (dimension = 1 x P) beta_se: standard deviation of log aFC (dimension = 1 x P) sample_size: number of observations used in regression
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.