snpRdata_dims | R Documentation |
Get the dimensions of a snpRdata object
## S4 method for signature 'snpRdata'
nsnps(x)
## S4 method for signature 'snpRdata'
nrow(x)
## S4 method for signature 'snpRdata'
nsamps(x)
## S4 method for signature 'snpRdata'
ncol(x)
## S4 method for signature 'snpRdata'
dim(x)
x |
snpRdata object |
nsnps(snpRdata)
: get the number of SNPs
nrow(snpRdata)
: identical to nsnps
nsamps(snpRdata)
: get the number of samples
ncol(snpRdata)
: identical to nsamps
dim(snpRdata)
: get the number of SNPs and samples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.