Skip to contents

This function creates an IQFeatureGroup object for all dinucleotide features.

Usage

create_dinuc_feature_group(
  traj_model,
  quantile = 0.99,
  size = traj_model@params$peaks_size,
  dinucleotides = c("AA", "AC", "AG", "AT", "CA", "CC", "CG", "CT", "GA", "GC", "GG",
    "GT", "TA", "TC", "TG", "TT")
)

Arguments

traj_model

A trajectory model object.

quantile

The quantile to use for normalization (default is 0.99).

size

The size of the sequences to use for feature computation.

dinucleotides

A vector of dinucleotides to create features for (default is all possible dinucleotides).

Value

An IQFeatureGroup object containing all dinucleotide features.