tidyGenotypeMatrix: Convert genotype matrix from gdsToMatrix into a tidy data...

Description Usage Arguments Value

View source: R/counts_ASE.R

Description

Convert genotype matrix from gdsToMatrix into a tidy data frame

Usage

1
2
tidyGenotypeMatrix(genotypes, selected_snp_id = "snp_id",
  value_id = "snp_value")

Arguments

genotypes

Matrix with variants in rows and individuals in columms.

selected_snp_id

Name for the snp_id column (default: snp_id).

value_id

Name for the allele dosage column (default: snp_value).

Value

Tidy data frame with one genotype per row.


kauralasoo/seqUtils documentation built on May 20, 2019, 7:42 a.m.