ICAMS (version 2.0.7)

CreateOneColDBSMatrix: Create double base catalog for *one* sample from a Variant Call Format (VCF) file

Description

Create double base catalog for *one* sample from a Variant Call Format (VCF) file

Usage

CreateOneColDBSMatrix(vcf, trans.ranges = NULL, sample.id = "count")

Arguments

vcf

An in-memory VCF file annotated by the AddSeqContext and AddTranscript functions. It must *not* contain indels and must *not* contain SBS (single base substitutions), or triplet base substitutions etc.

trans.ranges

A data.table which contains transcript range and strand information. Please refer to TranscriptRanges for more details.

sample.id

Usually the sample id, but defaults to "count".

Value

A list of three 1-column matrices with the names catDBS78, catDBS144, and catDBS136. If trans.ranges is NULL, catDBS144 is not generated. Do not rely on the order of elements in the list.