mirror of
https://github.com/johrpan/geposan.git
synced 2025-10-26 18:57: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,6 +54,7 @@ preset <- function(methods = c(
|
||||||
|
|
||||||
# Filter out genes with less than 25% existing orthologs.
|
# Filter out genes with less than 25% existing orthologs.
|
||||||
gene_ids_filtered <- genes_n_species[
|
gene_ids_filtered <- genes_n_species[
|
||||||
|
gene %chin% gene_ids &
|
||||||
n_species >= 0.25 * length(species_ids),
|
n_species >= 0.25 * length(species_ids),
|
||||||
gene
|
gene
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue