Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
3mmaRand committed Oct 22, 2023
1 parent 3cdbc36 commit 32e04e6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion omics/week-5/workshop.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -495,20 +495,27 @@ ensembl <- useMart(biomart = "ensembl",
```


# See what info we can retrieve:
See what info we can retrieve:
```{r}
listAttributes(mart = ensembl) |> View()
```


We need
ensembl_gene_id: because we will need to merge the info
external_gene_name: name for gene
description: description

```{r}
gene_info <- getBM(filters = "ensembl_gene_id",
attributes = c("ensembl_gene_id",
"external_gene_name",
"description"),
values = prog_hspc_results$ensembl_gene_id,
mart = ensembl)
```



Notice the dataframe returned only has 279 rows, not 280. Which one is missing?

Expand Down

0 comments on commit 32e04e6

Please sign in to comment.