Example of code that gives the error:
Under Example 2 in the leapR.Rmd vignette,
protdata.enrichment.order = leapR(geneset=ncipid,
enrichment_method="enrichment_in_order",
datamatrix=protdata, threshold=.5,
primary_columns="TCGA-13-1484")
The error is:
Error in if (class(enr) == "try-error") { : the condition has length > 1
The error can be traced back to:
Error in if (class(enr) == "try-error") { : the condition has length > 1
Example of code that gives the error: Under Example 2 in the leapR.Rmd vignette, protdata.enrichment.order = leapR(geneset=ncipid, enrichment_method="enrichment_in_order", datamatrix=protdata, threshold=.5, primary_columns="TCGA-13-1484") The error is: Error in if (class(enr) == "try-error") { : the condition has length > 1
The error can be traced back to: Error in if (class(enr) == "try-error") { : the condition has length > 1