Description Usage Arguments Value Author(s) See Also
Calculate the offset (bias) as the mean activation over a sampling of the data.
1 2 | calculate_offsets(filter.motifs, motif.pos = NULL, motif.maxlen,
onehot_array, batchsize = 256)
|
filter.motifs |
4-D array of IGMs or PWMs. |
motif.pos |
Vector of indices to extract motifs. If |
motif.maxlen |
Maximum motif length, found via |
onehot_array |
One-hot encoded training data to sample a batch from. |
batchsize |
Size of batch to sample. |
Vector of offsets of length equal to the fourth dimension of the input array of IGMs/PWMs.
Matthew Ploenzke, ploenzke@g.harvard.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.