format_activation_motifs: Find maximally-activating sequences for motif plotting.

Description Usage Arguments Value Author(s)

Description

Find the sequeneces which maximally activate (maximially cross-correlated with) the filters and format to a list with named rows for plotting with plot_motifs.

Usage

1
2
format_activation_motifs(activations, test_seqs, filter_len, method,
  threshold)

Arguments

activations

4-D array of activation values per filter.

test_seqs

Data to extract nucleotide sequences from. Must be a character array.

filter_len

Length of the sequence motif to extract; the length of the convolutional filters.

method

Either 'alipinahi' (extract the sequences with activation greater than threshold*max_activation), 'max-pooled' (extract the sequences which gave rise to the max-pooled value), or 'quantile' (extract the sequences with activation greater than quantile(activations,probs=threshold).

threshold

Threshold above which to extract sequences.

Value

List with named motifs.

Author(s)

Matthew Ploenzke, ploenzke@g.harvard.edu


mPloenzke/learnMotifs documentation built on May 27, 2019, 11:55 a.m.