The following object is masked from package:base
3
1
Entering edit mode
5.0 years ago

Hi

I have installed the ballgown package for differential gene expression.

Now I called the library of the installed packages for differential gene expression. but I encountered the following errors (masked) while calling the libraries. Can you tell me how to solve these masked objects from the packages?

the called library as 

library(ballgown)

Attaching package: ‘ballgown’

The following object is masked from ‘package:base’:

    structure

library(RSkittleBrewer)
library(genefilter)
library(dplyr)

Attaching package: ‘dplyr’

The following objects are masked from ‘package:ballgown’:

    contains, expr, last

The following objects are masked from ‘package:stats’:

    filter, lag

The following objects are masked from ‘package:base’:

    intersect, setdiff, setequal, union

library(devtools)
R RNA-Seq software error • 12k views
ADD COMMENT
3
Entering edit mode
5.0 years ago
ATpoint 81k

To be safe, you can always specify from which package a function is to be used, e.g. ballgown::expr like package::function

ADD COMMENT
3
Entering edit mode
5.0 years ago
zx8754 11k

conflicts() is a useful function to see function names that are present in multiple loaded packages, to be implicit which functions we use we can do packageName::functionName(). Relevant SO post:

ADD COMMENT
2
Entering edit mode
5.0 years ago

Those messages are not errors and are completely normal. It just tells you that multiple packages which are loaded on your system use overlapping function names.

ADD COMMENT

Login before adding your answer.

Traffic: 1914 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6