FBM.code256
SNP subset to a dataframe.pvdiv_bigsnp2tibble.Rd
This function creates a dataframe of SNP calls for a
FBM.code256
object. We recommend that this be a dataframe for a small
region.
pvdiv_bigsnp2tibble(snp)
A FBM.code256
object. Genomic information for Panicum virgatum.
SNP data is available at doi:10.18738/T8/ET9UAU
A tbl_df()
of the SNP calls for all individuals for the
subset of SNPs on that chromosome between the two positions specified.
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.