convert_phenos | R Documentation |
This function creates a list_phenos object from a data matrix supplied as input.
convert_phenos(phenos)
phenos |
Matrix of phenotypes (rows observations, columns phenotypic variables), without missing values. |
An object of class "list_phenos
".
phenos |
Matrix containing the original phenotypic data. |
var_err |
Vector containing the sample phenotypic variances. |
convert_snps
, generate_snps
,
replicate_real_snps
, generate_phenos
,
replicate_real_phenos
, generate_dependence
user_seed <- 123; set.seed(user_seed)
n <- 500; d <- 1000
phenos <- matrix(rnorm(n * d), nrow = n)
list_phenos <- convert_phenos(phenos)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.