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

CreateOmics with class OmicsSurv #78

Open
torongs82 opened this issue May 14, 2019 · 1 comment
Open

CreateOmics with class OmicsSurv #78

torongs82 opened this issue May 14, 2019 · 1 comment
Assignees
Labels

Comments

@torongs82
Copy link

I runned this code:

data("kirpPheno_df")
data("kirpRNAseq_df")

kidney_Omics <- CreateOmics(
    assayData_df = kirpRNAseq_df,
    pathwayCollection_ls = wikipathways_PC,
    # Exclude the gender indicator for now
    response = kirpPheno_df[, 1:3],
    respType = "surv",
    minPathSize = 5
)

that produced this error:

Creating object of class OmicsSurv =======
Error in validObject(.Object) :
invalid class “OmicsSurv” object: 1: invalid object for slot "assayData_df" in class "OmicsSurv": got class "spec_tbl_df", should be or extend class "data.frame"
invalid class “OmicsSurv” object: 2: invalid object for slot "assayData_df" in class "OmicsSurv": got class "tbl_df", should be or extend class "data.frame"
invalid class “OmicsSurv” object: 3: invalid object for slot "assayData_df" in class "OmicsSurv": got class "tbl", should be or extend class "data.frame"
invalid class “OmicsSurv” object: 4: invalid object for slot "assayData_df" in class "OmicsSurv": got class "data.frame", should be or extend class "data.frame"

@torongs82
Copy link
Author

If I runned

kirpRNAseq_df <- as.data.frame(kirpRNAseq_df)

it worked.

@gabrielodom gabrielodom self-assigned this May 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants