snpRdata_dims: Get the dimensions of a snpRdata object

snpRdata_dimsR Documentation

Get the dimensions of a snpRdata object

Description

Get the dimensions of a snpRdata object

Usage

## 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)

Arguments

x

snpRdata object

Functions

  • 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


hemstrow/snpR documentation built on March 20, 2024, 7:03 a.m.