View source: R/synchronize-samples.R View source: R/get-sample-id-field.R
synchronize_samples | R Documentation |
If each object exists, we get the intersection of the sample IDs, sort them and subset each object. Sample IDs must be in rownames for each parameter.
If each object exists, we get the intersection of the sample IDs, sort them and subset each object. Sample IDs must be in rownames for each parameter.
synchronize_samples(pheno, probs, expr, covar = NULL)
synchronize_samples(pheno, probs, expr, covar = NULL)
pheno |
a matrix or data.frame containing the phenotypes |
probs |
a numeric matrix containing the founder allele probabilities |
expr |
a numeric matrix containing the gene expression data |
covar |
a numeric matrix containing the mapping covariates |
list with four elements: 'pheno', 'probs', 'expr' and 'covar'. The Sample IDs will all be in the same order.
list with four elements: 'pheno', 'probs', 'expr' and 'covar'. The Sample IDs will all be in the same order.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.