dot-GetModBaseCountsCategories: GetModBaseCountsCategories Function (ModAnnot)

.GetModBaseCountsCategoriesR Documentation

GetModBaseCountsCategories Function (ModAnnot)

Description

Subfunction to return categories of counts (or counts per KiloBase pairs (kbp)) of the base modified (Mod) and the base letter of the modified base (Base). These categories should have a comparable amount of Mod (or Base) between them. Example: for Mod="6mA", Base="A"; for Mod="5mC", Base="C".

Usage

.GetModBaseCountsCategories(grangesAnnotationsWithCounts)

Arguments

grangesAnnotationsWithCounts

A GRanges object based on grangesAnnotations with the counts:

  • Modcount: The number of "Mod" within this feature.

  • Modcount_perkbp: (The number of "Mod" within this feature divided by the size of the feature)*1000.

  • Basecount: The number of "Base" within this feature.

  • Basecount_perkbp: (The number of "Base" within this feature divided by the size of the feature)*1000.

The Genomic features categories must be in a column named "type".


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