Git Product home page Git Product logo

Comments (15)

edroaldo avatar edroaldo commented on August 18, 2024

from cellrouter.

kunUCSD avatar kunUCSD commented on August 18, 2024

Dear Edroaldo,

Thanks. Here is the dimension, they are different, does this cause the error? How should I fix it? Thanks.

dim([email protected])
[1] 29408 4859
dim([email protected])
[1] 4391 34

from cellrouter.

edroaldo avatar edroaldo commented on August 18, 2024

from cellrouter.

kunUCSD avatar kunUCSD commented on August 18, 2024

Dear Edroaldo,
Thanks. I tried and it still showed the same error...
Here is the code:

data <- as.data.frame(as.matrix([email protected][,rownames([email protected])]))
cellrouter <- CellRouter(rawdata=as.data.frame(data), min.cells=0, min.genes=0)
[1] "Initializing CellRouter object"
dim(data)
[1] 29408 4391
dim([email protected])
[1] 4391 34
cellrouter <- addInfo(cellrouter, metadata = [email protected], colname = 'merged_20_Aug', metadata.column='res.0.8')
Error in rep(colors, times = replicate_row) : invalid 'times' argument
Best,
Kun

from cellrouter.

edroaldo avatar edroaldo commented on August 18, 2024

from cellrouter.

kunUCSD avatar kunUCSD commented on August 18, 2024

Dear Edroaldo,
I tried to make the variable and called the addInfo, but met with the same error...
My Seurat object has many different annotation, need I delete some?
Best,
Kun

from cellrouter.

edroaldo avatar edroaldo commented on August 18, 2024

from cellrouter.

kunUCSD avatar kunUCSD commented on August 18, 2024

Dear Edroaldo,
Sorry for the delayed reply, just had a meeting.
Here is the info:
image

from cellrouter.

edroaldo avatar edroaldo commented on August 18, 2024

from cellrouter.

kunUCSD avatar kunUCSD commented on August 18, 2024

Dear Edroaldo,
Sorry, it's my fault. All these column names contain "D", I deleted it to keep them in one line. But left some... All other info are correct. So, I guess it's not because of this. Sorry about this.
Can you check if there are any other issue? Thanks.
Best,Kun

from cellrouter.

edroaldo avatar edroaldo commented on August 18, 2024

from cellrouter.

kunUCSD avatar kunUCSD commented on August 18, 2024

from cellrouter.

kunUCSD avatar kunUCSD commented on August 18, 2024

Dear Edroaldo,
Sorry about the delayed reply, have so many things to handle today.
Here is the info:

cellrouter@rawdata[1:5,1:5]
D2T_AAAGTAGAGAACAATC D2T_ACGAGCCCAATCGGTT D2T_AGGGAGTAGTGACATA D2T_CACACAACACTCGACG D2T_CAGTAACTCGCGCCAA
RP11-34P13.7 0 0 0 0 0
AL627309.1 0 0 0 0 0
AP006222.2 0 0 0 0 1
RP4-669L17.10 0 0 0 1 0
RP11-206L10.3 0 0 0 0 0
cellrouter@ndata[1:5,1:5]
D2T_AAAGTAGAGAACAATC D2T_ACGAGCCCAATCGGTT D2T_AGGGAGTAGTGACATA D2T_CACACAACACTCGACG D2T_CAGTAACTCGCGCCAA
RP11-34P13.7 0 0 0 0 0
AL627309.1 0 0 0 0 0
AP006222.2 0 0 0 0 1
RP4-669L17.10 0 0 0 1 0
RP11-206L10.3 0 0 0 0 0
class([email protected])
[1] "data.frame"

Best,
Kun

from cellrouter.

edroaldo avatar edroaldo commented on August 18, 2024

from cellrouter.

kunUCSD avatar kunUCSD commented on August 18, 2024

Thank you Edroaldo for all efforts, I'll re-make the object, and see if it works.
Thanks,
Kun

from cellrouter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.