order_vcf: order_vcf

Description Usage Arguments Examples

View source: R/annotate_VCF_functions.R

Description

Orders a VCF by Sample name, then genomic position within each sample and project (if project argument given).

Usage

1
order_vcf(vcf, Project_col = NA)

Arguments

vcf

The VCF to be ordered.

Project_col

Name of the Project column in the VCF (if any) (e.g. may contain "ICGC"). If a value is given, the samples are sorted by project first, then sample etc..

Examples

1
vcf <- order_vcf(vcf, Project_col = "Project")

FunGeST/Palimpsest documentation built on June 10, 2021, 6:35 p.m.