Comments (5)
Ok, so the issue was that internally
orthogene
was converting the single-column data.frame (your input) to a vector, which is the default behaviour of R.Line 15 in 146f54e
I've edited the code above to avoid this. Will push the changes to the Bioc release with this fix, but in the meantime the easier solution for you would be to add a dummy column to your input data.frame, which will prevent it from getting turned into a vector later on.
human_genes <- data.frame(read.csv("Human_gene_list_reprex.csv")) human_genes$dummy <- NALet me know if that works for you!
This worked! Thanks so much!
from orthogene.
Thanks for the detailed reprex @ehickman0817! Though I can't seem to find the "Human_gene_list_reprex.csv" file you mentioned.
from orthogene.
Thanks for the detailed reprex @ehickman0817! Though I can't seem to find the "Human_gene_list_reprex.csv" file you mentioned.
Ah, actually found it in the SessionInfo
!
https://github.com/neurogenomics/orthogene/files/12004790/Human_gene_list_reprex.csv
from orthogene.
Thanks for the detailed reprex @ehickman0817! Though I can't seem to find the "Human_gene_list_reprex.csv" file you mentioned.
Ah, actually found it in the
SessionInfo
! https://github.com/neurogenomics/orthogene/files/12004790/Human_gene_list_reprex.csv
Great, thanks! Sorry, this is my first time posting a reprex, glad you found it!!
from orthogene.
Ok, so the issue was that internally orthogene
was converting the single-column data.frame (your input) to a vector, which is the default behaviour of R.
Line 15 in 146f54e
I've edited the code above to avoid this. Will push the changes to the Bioc release with this fix, but in the meantime the easier solution for you would be to add a dummy column to your input data.frame, which will prevent it from getting turned into a vector later on.
human_genes <- data.frame(read.csv("Human_gene_list_reprex.csv"))
human_genes$dummy <- NA
Let me know if that works for you!
from orthogene.
Related Issues (20)
- Look into OMA
- Add phylogenetic tree databases
- Scale silhouettes HOT 2
- How to find all supported species? HOT 1
- How to use older annotations with convert_orthologs method? HOT 2
- Issue with create_background - found in EWCE HOT 4
- babelgene tests HOT 1
- Add earthworm orthologs HOT 1
- `Matrix.utils` deprecated HOT 1
- Dependency "Matrix.utils" is no longer available HOT 2
- `rphylopic` failing HOT 3
- Replace `ggtree`/`ggimage` HOT 1
- Figure out why "Canis lupus familiaris" 1:1 orthologs are reduced HOT 3
- GHA: `Package suggested but not available: ‘rworkflows’` HOT 1
- GHA: Docker: Error: both username and password must be set to login both username and password must be set to login HOT 2
- Consider adding ortholog mappings from Zoonomia
- Consider integrating `taxize`
- Determine which journal to publish in
- The result was 0 on R package orthogene HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orthogene.