pvdiv_bigsnp2tibble: Convert A 'FBM.code256' SNP subset to a dataframe.

Description Usage Arguments Value Note

View source: R/pvdiv_gwas_results.R

Description

This function creates a dataframe of SNP calls for a FBM.code256 object. We recommend that this be a dataframe for a small region.

Usage

1

Arguments

snp

A FBM.code256 object. Genomic information for Panicum virgatum. SNP data is available at doi:10.18738/T8/ET9UAU

Value

A tbl_df() of the SNP calls for all individuals for the subset of SNPs on that chromosome between the two positions specified.

Note

bigsnpr already has functions to subset its SNP file format and return a bed file and to return its own SNP file format. This function is useful if you instead want a small(ish) dataframe of SNPs that can be manipulated using data frame tools in R.


Alice-MacQueen/switchgrassGWAS documentation built on Jan. 23, 2022, 7:55 p.m.