order_vcf: order_vcf

View source: R/annotate_VCF_functions.R

order_vcfR Documentation

order_vcf

Description

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

Usage

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

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

FunGeST/Palimpsest documentation built on June 2, 2024, 4:21 a.m.