View source: R/00_run_full_analysis.R
process_corecmotifs | R Documentation |
Removes CoRecMotifs with low z-scores or motif strengths
and CoRecMotifs that do not replicate, then compares the remaining
CoRecMotifs to a database of reference motifs to identify the best match.
This is a convenience function that calls filter_corecmotifs()
,
check_replicates()
, find_match()
, then filter_corecmotifs()
and
check_replicates()
again, and finally summarize_corecmotifs()
and
optionally compare_conditions()
.
process_corecmotifs(
corecmotifs,
reference_motifs_file,
cluster_assignments = NULL,
meme_path = NULL,
motif_strength = 1,
rolling_ic = 1,
n_replicates = 2,
eucl_distance = 0.4,
min_overlap = 5,
match_pvalue = 0.01,
pbm_condition_groups = NULL,
output_directory = NULL,
output_base_name = NULL
)
corecmotifs |
|
reference_motifs_file |
|
cluster_assignments |
|
meme_path |
|
motif_strength |
|
rolling_ic |
|
n_replicates |
|
eucl_distance |
|
min_overlap |
|
match_pvalue |
|
pbm_condition_groups |
|
output_directory |
|
output_base_name |
|
By default no output files are created. To save output files, you must
provide output_directory
, output_base_name
, or both. The output files are
named according to the following rules.
If output_directory
is provided but output_base_name
is not, the files
will be saved in the provided directory using the base name "output".
If output_base_name
is provided but output_directory
is not, the files
will be saved in the working directory using the provided base name.
The individual output file names will be identified by a suffix appended to the output base name.
The output after the first call to filter_corecmotifs()
and
check_replicates()
will have the suffix "filtered_corecmotifs.rds".
The output of find_match()
will have the suffix
"matched_corecmotifs.rds".
The output after the second call to filter_corecmotifs()
and
check_replicates()
will have the suffix "significant_corecmotifs.rds".
The output of summarize_corecmotifs()
will have the suffix
"significant_corecmotifs_summary.tsv".
The output of summarize_corecmotifs()
with by_cluster = TRUE
will have
the suffix "significant_corecmotifs_summary_by_cluster.tsv".
The output of compare_conditions()
will have the suffix
"condition_comparisons.tsv".
A filtered list of replicated CoRecMotifs that match a reference motif.
filter_corecmotifs()
, check_replicates()
, find_match()
,
summarize_corecmotifs()
, compare_conditions()
print("FILL THIS IN")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.