selSNPDS: Subset the information of a given SNP in a GDS object.

View source: R/selSNPDS.R

selSNPDSR Documentation

Subset the information of a given SNP in a GDS object.

Description

This function creates a data frame with a given SNP and variables from a GDS and data.frame objects.

Usage

selSNPDS(genoData, i, strat_variable = NULL, level_number = NULL)

Arguments

genoData

the GDS object

i

the position of the SNP (e.g. column) in the SNP-matrix

Value

a data frame with samples as rows and selected SNP and variables as columns.

Author(s)

Gonzalez, JR.


isglobal-brge/dsOmics documentation built on Nov. 11, 2024, 4:18 a.m.