Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bioinfo
ngs_tools
Commits
33202806
Commit
33202806
authored
Apr 10, 2017
by
Holger Brandl
Browse files
used archive site for biomart
parent
2044674f
Changes
1
Hide whitespace changes
Inline
Side-by-side
dge_workflow/featcounts_deseq_mf.R
View file @
33202806
...
@@ -472,10 +472,13 @@ geneInfo = quote({
...
@@ -472,10 +472,13 @@ geneInfo = quote({
## mart = biomaRt::useDataset("drerio_gene_ensembl", mart = biomaRt::useMart("ensembl"))§
## mart = biomaRt::useDataset("drerio_gene_ensembl", mart = biomaRt::useMart("ensembl"))§
# mart = biomaRt::useDataset(guess_mart(countData$ensembl_gene_id), mart = biomaRt::useMart("ensembl"))
# mart = biomaRt::useDataset(guess_mart(countData$ensembl_gene_id), mart = biomaRt::useMart("ensembl"))
## todo fix this https://support.bioconductor.org/p/74322/
## todo fix this https://support.bioconductor.org/p/74322/
mart
=
biomaRt
::
useDataset
(
guess_mart
(
countData
$
ensembl_gene_id
),
mart
=
biomaRt
::
useMart
(
"ENSEMBL_MART_ENSEMBL"
,
host
=
"www.ensembl.org"
))
# mart = biomaRt::useDataset(guess_mart(countData$ensembl_gene_id), mart = biomaRt::useMart("ENSEMBL_MART_ENSEMBL", host="www.ensembl.org"))
# mart = biomaRt::useMart("ENSEMBL_MART_ENSEMBL", dataset = "mmusculus_gene_ensembl", host = "dec2016.archive.ensembl.org", path = "/biomart/martservice", archive = FALSE)
mart
=
biomaRt
::
useMart
(
"ENSEMBL_MART_ENSEMBL"
,
dataset
=
guess_mart
(
countData
$
ensembl_gene_id
),
host
=
"dec2016.archive.ensembl.org"
,
path
=
"/biomart/martservice"
,
archive
=
FALSE
)
c
(
"ensembl_gene_id"
,
"external_gene_name"
,
"description"
,
"chromosome_name"
,
"start_position"
,
"end_position"
)
%>%
biomaRt
::
getBM
(
mart
=
mart
)
c
(
"ensembl_gene_id"
,
"external_gene_name"
,
"description"
,
"chromosome_name"
,
"start_position"
,
"end_position"
)
%>%
biomaRt
::
getBM
(
mart
=
mart
)
%>%
tbl_df
})
%>%
cache_it
(
"geneInfo"
)
})
%>%
cache_it
(
"geneInfo"
)
## save as reference for downstream analysis
## save as reference for downstream analysis
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment