[9987e3]: / man / define_binding_regions.Rd

Download this file

78 lines (61 with data), 2.5 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/explore_network.R
\name{define_binding_regions}
\alias{define_binding_regions}
\title{Define binding_regions from hummus object}
\usage{
define_binding_regions(
hummus_object,
multiplex_names = NULL,
bipartites_names = NULL,
config_name = "binding_regions_config.yml",
config_folder = "config",
tf_multiplex = "TF",
atac_multiplex = "peaks",
rna_multiplex = "RNA",
multilayer_f = "multilayer",
gene_list = NULL,
tf_list = NULL,
save = FALSE,
output_f = NULL,
return_df = TRUE,
suffix_bipartites = ".tsv",
njobs = 1
)
}
\arguments{
\item{hummus_object}{A hummus object}
\item{multiplex_names}{A vector of multiplex names considered.
It must be a subset of the names of the multiplexes in the hummus object.}
\item{bipartites_names}{A vector of bipartites names considered.
It must be a subset of the names of the bipartites in the hummus object.}
\item{config_name}{The name of the config file to be created by hummuspy}
\item{config_folder}{The folder where the config file will be created}
\item{tf_multiplex}{The name of the multiplex containing the TFs}
\item{atac_multiplex}{The name of the multiplex containing the ATAC-seq peaks}
\item{rna_multiplex}{The name of the multiplex containing the RNA-seq genes}
\item{multilayer_f}{The folder where the multilayer is stored}
\item{gene_list}{A vector of genes to be considered for the final binding
regions (filtering is done on the genes before inferring the binding_regions)}
\item{tf_list}{A vector of TFs to be considered for the binding_regions
(filtering is done on the TFs after inferring the binding_regions)}
\item{save}{A boolean indicating if the binding_regions should be saved}
\item{output_f}{The name of the file where the binding_regions can be saved
(if save == TRUE)}
\item{return_df}{A boolean indicating if the binding_regions should be
returned as a dataframe}
\item{suffix_bipartites}{A suffix to add to the bipartites names (to indicate
the exact file location)}
\item{njobs}{The number of jobs to be used for the computation of the binding_regions}
}
\value{
A dataframe containing the binding_regions (if return_df == TRUE)
}
\description{
Calling the define_output function with output_type = 'binding_regions'
}
\examples{
binding_regions <- define_binding_regions(hummus_object = hummus,
multilayer_f = multilayer_folder,
njobs = 5)
}