select_n_set_i_depth | R Documentation |
select_n_set_i_depth
select_n_set_i_depth
is the actual function used to
find optimised SNPs set. This function is called by
find_optimised_snps
, after preprocessing.
select_n_set_i_depth(
starting_positions = c(),
excluded_positions = c(),
seqc,
metric,
number_of_result = 1,
max_depth = 1,
seqc_length,
bp = SerialParam(),
...
)
starting_positions |
the starting positions that is already in the SNP set. |
excluded_positions |
excluded positions |
seqc |
list of sequences, either passed directly from
|
metric |
either 'simpson' or 'percent' |
number_of_result |
number of results to return, 0 will be coerced to 1 |
max_depth |
maximum depth to go before terminating, 0 means it will only calculate the metric for included position |
seqc_length |
the length to iterate through. |
bp |
BiocParallel backend. Rule of thumbs: use MulticoreParam(workers = ncpus - 2) |
... |
other parameters as needed |
Will return the resolution-optimised SNPs set, based on the metric.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.