Skip to content

Error in 4.3 Sex prediction section #4

@pedrodcb

Description

@pedrodcb

This code:

predictedSex <- getSex(GRset, cutoff = -2)$predictedSex
predictedSex

plotSex(getSex(GRset, cutoff = -2))

Should be this:

predictedSex <- getSex(GRset, cutoff = -2)
predictedSex

GRset <- addSex(GRset, sex = predictedSex)

plotSex(GRset)

If not the following error is returned when running plotSex(getSex(GRset, cutoff = -2)):
Error in h(simpleError(msg, call)) : error in evaluating the argument 'table' in selecting a method for function '%in%': error in evaluating the argument 'x' in selecting a method for function 'colnames': unable to find an inherited method for function ‘colData’ for signature ‘"DFrame"’

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions