num2weightedfreq: num2weightedfreq

Description Usage Arguments Value

View source: R/numeric_represenation.R

Description

Calculates the weighted oligo-nucleotide frequencies given a numerically encoded matrix representation.

Usage

1
num2weightedfreq(seqnum, weights, oligo_length)

Arguments

seqnum

(numeric matrix) numerically encoded oligo-nucleotide representation of DNA sequences

weights

(numeric) to be given to the fasta sequences (should have length matching ncol(seqnum))

oligo_length

(integer) length of the oligonucleotide-coding used (order+1)

Value

matrix of weighted oligonucleotide frequencies


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