mirror of
https://github.com/johrpan/geposan.git
synced 2025-10-26 10:47:25 +01:00
preset: Actually filter input genes
This commit is contained in:
parent
c6a5c2b59c
commit
2c15ba55c1
1 changed files with 2 additions and 1 deletions
|
|
@ -54,7 +54,8 @@ preset <- function(methods = c(
|
|||
|
||||
# Filter out genes with less than 25% existing orthologs.
|
||||
gene_ids_filtered <- genes_n_species[
|
||||
n_species >= 0.25 * length(species_ids),
|
||||
gene %chin% gene_ids &
|
||||
n_species >= 0.25 * length(species_ids),
|
||||
gene
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue