Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X and Y variables : Reliability test #60

Open
AlexisFon opened this issue Jan 24, 2024 · 2 comments
Open

X and Y variables : Reliability test #60

AlexisFon opened this issue Jan 24, 2024 · 2 comments

Comments

@AlexisFon
Copy link

AlexisFon commented Jan 24, 2024

Hi,

I have two questions :

  1. How can we use single cell data normalized with SCT ? I have the following error :
    Error in as.matrix(sc_dataset@assays$RNA@data) : no slot of name "data" for this object of class "Assay5"
    and if i replace in the code sc_dataset@assays$RNA@data, by sc_dataset@assays$SCT@data, I have 0 cells identified, no matter the alpha value.

  2. I perform SCISSOR analysis on my data (with classic RNA assay) and want to do the reliability test. However, I don't know what I have to put instead X and Y variables in the function : result2 <- reliability.test(X, Y, network, alpha = 0.05, family = "binomial", cell_num = numbers, n = 50, nfold = 10).

Does someone have the answer to these questions ?

@BioWalking
Copy link

Q1.Maybe you can try "scedata[["RNA"]] <- as(scedata[["RNA"]], "Assay")"

@Namuhan33
Copy link

Q2 if you load the workspace that's been save from scissor function, X and Y are within it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants