dot-GetCumsumTableParamByMotif: GetCumsumTableParamByMotif Function (FDREst)

.GetCumsumTableParamByMotifR Documentation

GetCumsumTableParamByMotif Function (FDREst)

Description

Return a dataframe with cumulative number of values of the parameter provided in the GRanges object (from highest to lowest values).

Usage

.GetCumsumTableParamByMotif(
  grangesDataWithSeq,
  cNameParamToTest,
  nRoundDigits = 1,
  lTestBetweenMotifs = FALSE
)

Arguments

grangesDataWithSeq

A GRanges-like object containing, in the extra columns, the parameter to be tested and the sequence.

cNameParamToTest

The name of the column containing the parameter to be tested.

nRoundDigits

The number of digits for the thresholds on the parameter. A value of 0 would mean no value to be rounded: this could results in errors for a continuous variable. Defaults to 1.

lTestBetweenMotifs

If TRUE, add one column for each sequence in the GRanges object provided. Else, calculates the cumulative number of values of the parameter provided independantly of the sequence associated. Defaults to FALSE.


AlexisHardy/DNAModAnnot documentation built on Feb. 27, 2023, 12:03 a.m.