Last chance! 50% off unlimited learning
Sale ends in
Mapping from Hugo symbol to Pfam-A domain composition.
If the given Hugo symbol has multiple UniProt ID mappings,
and guess == TRUE
,
the longest UniProt protein is selected. Return is either a list of a JSON.
hgnc2pfam(hgnc.symbol, guess = TRUE, uniprot.id = NA, output.format = "json")
A list or a JSON with attributes:
symbol, uniprot, length, and a list of Pfam entries, including
hmm.acc, hmm.name, start, end, and type.
primary Hugo symbol
if the given Hugo symbol links to multiple UniProt IDs,
choose the longest one (guess == TRUE
);
otherwise NA
(guess == FALSE
). Default TRUE
.
UniProt ID, in case that gene symbol maps to multiple UniProt entries.
output format: JSON or list
# general usage
hgnc2pfam("TP53")
hgnc2pfam("TP53", output.format = "json")
hgnc2pfam("TP53", output.format = "list")
hgnc2pfam("TP53", output.format = "json", uniprot.id = "P04637") # OK
# for gene mapping to multiple UniProt enties
hgnc2pfam("GNAS", guess = TRUE)
hgnc2pfam("GNAS", guess = FALSE)
hgnc2pfam("GNAS", output.format = "list")
hgnc2pfam("GNAS", output.format = "list", uniprot.id = "P84996")
if (FALSE) {
hgnc2pfam("GNAS", output.format = "list", uniprot.id = "P84997") # , returns FALSE
}
hgnc2pfam("PRAMEF9", output.format = "list") # no Pfam mappings
Run the code above in your browser using DataLab