Description Usage Arguments Value Examples
This function performs an access to covariates
An accessor to covariates
1 2 3 4 | covariates(obj)
## S4 method for signature 'rqt'
covariates(obj)
|
obj |
An object of |
covariates returns the covariates
1 2 3 4 5 6 7 8 | data <- data.matrix(read.table(system.file("extdata/test.bin1.dat",
package="rqt"), header=TRUE))
pheno <- data[,1]
geno <- data[, 2:dim(data)[2]]
colnames(geno) <- paste(seq(1, dim(geno)[2]))
geno.obj <- SummarizedExperiment(geno)
obj <- rqt(phenotype=pheno, genotype=geno.obj)
covariates(obj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.