View source: R/daeqtl_mapping.R
daeqtl_mapping | R Documentation |
TODO
daeqtl_mapping( snp_pairs, zygosity, ae, fn = daeqtl_test, ..., .extra_cols = 2L, .n_chunks = future::nbrOfWorkers() )
snp_pairs |
A data frame with DAE SNP/candidate SNP pairs. |
zygosity |
A data frame with zygosity levels of samples. First column
should be the SNP identity, and remaining columns should refer to
biological samples. These should be factors, and their levels should be
|
ae |
A data frame with allelic expression (AE) ratios. Each row is for a locus. The locus identity is indicated in the first column. Remaining columns are samples. |
fn |
A function implementing the statistical association approach.
This function needs to have two named arguments |
... |
Extra arguments passed on to the call of the function passed in
|
.extra_cols |
The number of extra columns you are creating with |
.n_chunks |
The number of chunks to divide |
An updated version of the data frame snp_pairs
. The update includes
extra columns, typically pvalue
and case
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.