.select_domain {funMoDisco} | R Documentation |
.select_domain
Description
This function selects the portion of a motif that is free from NA values based on a specified domain. It allows for the selection of two matrices, 'v0' and 'v1', depending on the boolean flags provided.
Usage
.select_domain(v, v_dom, use0, use1)
Arguments
v |
A list containing two elements:
|
v_dom |
A boolean vector indicating the domain for 'v0' and 'v1'. |
use0 |
A boolean value indicating whether to select 'v0'. If TRUE, 'v0' is selected based on 'v_dom'. |
use1 |
A boolean value indicating whether to select 'v1'. If TRUE, 'v1' is selected based on 'v_dom'. |
Details
Select Domain of a Motif
Value
A list containing the selected portions of 'v0' and 'v1' (if applicable), with dimensions adjusted accordingly.
Author(s)
Marzia Angela Cremona & Francesca Chiaromonte