mirror of
https://github.com/johrpan/geposan.git
synced 2025-10-25 19:37:23 +02:00
Fix preset bug when filtering species
This commit is contained in:
parent
2529f35660
commit
fddd0c3fa0
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ preset <- function(reference_gene_ids,
|
|||
]
|
||||
|
||||
# Count included genes per species.
|
||||
species_n_genes <- geposan::distances[, .(n_genes = .N), by = "species"]
|
||||
species_n_genes <- distances[, .(n_genes = .N), by = "species"]
|
||||
|
||||
# Filter out species that have too few of the genes.
|
||||
species_ids_filtered <- species_n_genes[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue