mirror of
https://github.com/johrpan/geposan.git
synced 2025-10-26 02:37:25 +01:00
data: Remove n_species from genes
This commit is contained in:
parent
0eac84377d
commit
064f75ddae
4 changed files with 0 additions and 7 deletions
|
|
@ -142,11 +142,6 @@ for (species_id in species[!id == "hsapiens", id]) {
|
|||
distances <- rbindlist(list(distances, species_distances))
|
||||
}
|
||||
|
||||
# Add information on number of species per gene.
|
||||
|
||||
genes_n_species <- distances[, .(n_species = .N), by = "gene"]
|
||||
genes <- merge(genes, genes_n_species, by.x = "id", by.y = "gene")
|
||||
|
||||
# Save data in the appropriate place.
|
||||
|
||||
usethis::use_data(species, overwrite = TRUE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue