classify: Motif Soft Classification into Topologically-associating...

Description Usage Arguments Value Examples

View source: R/classification.R

Description

Classifies motifs by location into hierarchically clustered chromatin loops. It assumes that each base position has an equal chance of occurring in a chromatin loop.

Usage

1
classify(motifs, chromLoops)

Arguments

motifs

A dataframe of matched motifs with at least the following attributes:

  • motif_id: a string array containing the motifs' names

  • start: an integer array cotaining the starting coordinates of matched motif

  • stop: an integer array containing the end coordinate of matched motif

chromLoops

A dataframe of hierarchically clustered chromatin loops with at least the following attributes: #'

  • start: an integer array containing the starting coordinates of the predicted chromatin loops

  • stop: an integer array containing the end coordinates of the predicted chromatin loops

Value

A dataframe of classified of motifs, their membership scores, and locations

Examples

1
2
3
data("A549ChromLoops")
data("matchedMotifs")
classify(matchedMotifs, A549ChromLoops)

NElnour/3dannotator documentation built on Dec. 12, 2019, 12:55 a.m.