Using featureCounts and downloading Rsubread
1
0
Entering edit mode
margo • 0
@4769e097
Last seen 2.3 years ago
United Kingdom

I am trying to perform a count per gene analysis using featureCounts in R. I have downloaded the gtf file and edited it within R to only contain the gene ID, chr, start, end, and strand, within a data frame (df2). I am trying to run featureCounts on df2 with my 6 bam files, however, I am unable to download the package Rsubread.

library("Rsubread")
Error in library("Rsubread") : there is no package called ‘Rsubread’

The code I have within my R script so far is:

install.packages('BiocManager')
library(BiocManager)
install()
library('Rsubread')
featureCounts RNASeq Rsubread R • 1.7k views
ADD COMMENT
1
Entering edit mode
@james-w-macdonald-5106
Last seen 1 day ago
United States

You need to tell BiocManager;;install that you want to install the Rsubread package.

BiocManager::install("Rsubread")
library(Rsubread)
ADD COMMENT

Login before adding your answer.

Traffic: 675 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