mockVCF: Generate mock vcf

View source: R/mock-data.R

mockVCFR Documentation

Generate mock vcf

Description

Quick function to generate mock vcf file. Note this data has unrealistic population structure.

Usage

mockVCF(
  n.snps = 200,
  n.samples = 5,
  chromosome = 1,
  chr.length = 2e+06,
  seed = NULL
)

Arguments

n.snps

Number of SNPs in mock vcf file.

n.samples

Number of samples in mock bulk data.

chromosome

Chromosome name

chr.length

Length of mock chromosome

seed

Optional: seed for random seed

Value

data.frame containing mock vcf data.

Examples

vcf <- mockVCF()


Oshlack/splatter documentation built on Dec. 10, 2024, 3:48 p.m.