Skip to content

Getting error in running your code #2

@beginner984

Description

@beginner984

Hello

I am pursuing your tutorial but I get this error

> fcs_1 <- fsApply(fcs_raw1, function(x, cofactor = 5){
+   
+   colnames(x) <- panel_fcs_raw1$desc
+   
+   expr <- exprs(x)
+   
+   expr <- asinh(expr[, c(panel_fcs_raw1$desc)] / cofactor)
+   
+   exprs(x) <- expr
+   
+   x
+   
+ })
Error in expr[, c(panel_fcs_raw1$desc)] : subscript out of bounds

Please can you help me with this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions