Description Usage Arguments Details Value
This function creates a genotype object.
1 2 3 4 |
Z |
A numeric genotype matrix (dosage matrix) or coercible with
as.matrix - rows correspond to individuals and columns correspond to SNPs.
Use 'NA' for missing values. The column names of this matrix should
correspond to SNP names in the |
subject.include |
(optional) character vector of the subjects in
|
subject.exclude |
(optional) character vector of the subjects in
|
snp.include |
(optional) character vector of the SNPs in
|
snp.exclude |
(optional) character vector of the SNPs in
|
Z should be a numeric matrix
Typically either subject.include
or subject.exclude
, or both,
is set to NULL
. It is important to note that return include
and exclude
are taken from the subjects in Z
and not from the
input parameters.
Typically either snp.include
or snp.exclude
, or both, is set
to NULL
. It is important to note that return include
and
exclude
are taken from the snps in Z
and not from the input
parameters.
an object of class 'genotype'.
An object of class 'genotype' is a list containing at least the following components:
data data frame of the data for analysis
AAC alternate allele count.
AAF alternate allele frequency.
gender column name containing the gender of the subjects
include the subjects in data
that will be included is further analysis.
exclude the subjects in data
that will be excluded is further analysis.
It is important to note that return include
and exclude
are taken from data and not from the input parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.