map_ids_annotationHub: map id Annotation Hub

Description Usage Arguments See Also Examples

View source: R/make_ids_uniprot.R

Description

map id Annotation Hub

Usage

1
2
3
4
5
map_ids_annotationHub(
  x,
  ID_col = "UniprotID",
  species = c("Homo sapiens", "Mus musculus")
)

Arguments

x

data frame

ID_col

column with ID's

species

default "Homo sapiens"

See Also

Other id_mapping: map_ids_2ways(), map_ids_uniprot(), mapthe()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
library(tidyverse)
fc_estimates <- prora::exampleContrastData
## Not run: 
fc_estimates %>%
 filter(!(grepl("^REV_", protein_Id) | grepl("^zz", protein_Id) | grepl("^CON__", protein_Id)))

## End(Not run)
fc_estimates <- fc_estimates %>% filter(!(grepl("^REV_|^zz|^CON__", protein_Id)))
filtered_dd <- get_UniprotID_from_fasta_header(fc_estimates, idcolumn = "protein_Id")
dim(filtered_dd)
tmp <- map_ids_annotationHub(filtered_dd, species = "Homo sapiens")
sum(is.na(tmp$P_ENTREZGENEID ))

protViz/fgczgseaora documentation built on Dec. 14, 2021, 9:22 p.m.