findIT_enrichFisher: findI(nfluential)T(F)_enrichFisher

View source: R/find_influential_TF.R

findIT_enrichFisherR Documentation

findI(nfluential)T(F)_enrichFisher

Description

find influential TF of your input peak set compared with your whole peak sets based on TF ChIP-Seq or motif data.

Usage

findIT_enrichFisher(input_feature_id, peak_GR, TF_GR_database)

Arguments

input_feature_id

a character vector which represent peaks set which you want to find influential TF for

peak_GR

a GRange object represent your whole feature location with a column named feature_id, which your input_feature_id should a part of it.

TF_GR_database

TF peak GRange with a column named TF_id representing you TF name

Value

data.frame

Examples

data("test_featureSet")
peak_path <- system.file("extdata", "ATAC.bed.gz", package = "FindIT2")
peak_GR <- loadPeakFile(peak_path)
ChIP_peak_path <- system.file("extdata", "ChIP.bed.gz", package = "FindIT2")
ChIP_peak_GR <- loadPeakFile(ChIP_peak_path)
ChIP_peak_GR$TF_id <- "AT1G28300"

 result_findIT_enrichFisher <- findIT_enrichFisher(
    input_feature_id = test_featureSet,
    peak_GR = peak_GR,
    TF_GR_database = ChIP_peak_GR
)

shangguandong1996/FindIT2 documentation built on March 1, 2024, 8:34 p.m.