getMutationFeatureVector: Get mutation feature vector from context sequence data and...

Description Usage Arguments Value

View source: R/read_file.R

Description

Get mutation feature vector from context sequence data and reference and alternate allele information

Usage

1
2
getMutationFeatureVector(context, ref_base, alt_base, strandInfo = NULL,
  numBases, type)

Arguments

context

the context sequence data around the mutated position. This shoud be Biostrings::DNAStringSet class

ref_base

the reference bases at the mutated position.

alt_base

the alternate bases at the mutated position.

strandInfo

transcribed strand information at the mutated position. (this is optional)

numBases

the number of flanking bases around the mutated position.

type

the type of mutation feature vecotr (should be "independent" or "full").

Value

a mutation featuer vector


HiLDA documentation built on Nov. 8, 2020, 11:09 p.m.