fasta2sparse_boolean: fasta2sparse_boolean

Description Usage Arguments Value

View source: R/sparse_boolean_representation.R

Description

Creates sparse encoded matrix of a DNA sequence.

Usage

1
fasta2sparse_boolean(fasta, oligo_length)

Arguments

fasta

(DNAString) sequence to encode

oligo_length

(integer) oligo-nucleotide length to encode the sequence in

Value

(boolean matrix) sparse encoding of the DNAString, columns=positions, rows=oligo-nucleotides


markheron/pRon documentation built on Feb. 18, 2020, 12:33 a.m.