sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
4aae1fed45d782e505cd65c119a52e6406e07bca3f22989dc2687a8822580569 | TypeScript | 5,619 | 243 | import { GeneResponse } from "./types";
export const SNP_AUTOCOMPLETE_QUERY = `
query suggestions($assembly: String!, $snpid: String!) {
snpAutocompleteQuery(assembly: $assembly, snpid: $snpid) {
id
coordinates {
chromosome
start
end
}
... |
afc453a9c91ee898a2c52a236c1e8a22bbc078f7b6ee1adba847b03de413e014 | TypeScript | 5,687 | 214 | import {
CCREResponse,
GeneResponse,
ICREResponse,
Result,
ResultType,
SnpResponse,
StudyResponse,
} from "./types";
/**
* Get the coordinates from a string input.
* @param input - The input string to search for coordinates
* @param assembly - The assembly to search for coordinates
* @returns An arra... |
bcb40edc1db312d513cc8ec97ac329c968b324c85b14872436d9b745fa343757 | TypeScript | 5,979 | 188 | import { RefObject } from "react";
/**
* Smooths the input data with a normal kernel density estimator.
* @param input: the input vector to smooth.
* @param sampleDomain: the domain over which to smooth; defaults to the domain of the input data.
* @param bandWidth: the standard deviation of the kernel; defaults to... |
db4037df1c6b8b59e94807369def4119daf4fefcf6dcf65d36d66b92813ebff6 | TypeScript | 7,438 | 185 | import { TrackList } from "../types";
// Note: PsychENCODE neuron/non-neuron FANS-sorted ATAC-seq (healthy donors) has NEUN+ and NEUN- variants
// url = gs://gcp.wenglab.org/GTEx-psychscreen/tracks/data/DLPFC-{NEUN}-healthy-ATAC.bigWig
// title = "DLPFC healthy ATAC-seq {NEUN} "
// output = { title: "DLPFC healthy ATA... |
1b26757945eca855accaa3f46b78e15bc547067075d7bf829b79036ff2578ac9 | TypeScript | 7,546 | 136 | export const tissueColors = new Map();
tissueColors.set("Adipose Tissue", "rgb(242, 104, 34)");
tissueColors.set("Adipose - Subcutaneous", "rgb(242, 104, 34)");
tissueColors.set("Adipose - Visceral (Omentum)", "rgb(251, 169, 26)");
tissueColors.set("Adrenal Gland", "rgb(94, 186, 71)");
tissueColors.set("Artery - Aorta... |
c052021d3c6fb629db58d304860ef8fb5febd122b0d67397afdd414c2558ffa6 | TypeScript | 8,385 | 319 | import { call, put, putResolve, delay, select, takeEvery, takeLatest }
from 'redux-saga/effects'
import { createAction, PayloadAction } from '@reduxjs/toolkit'
import { actions, initialState } from './actions'
import * as api from '../api'
import { annotation_id_t } from '../annotations/model'
import { selectors } f... |
3b69488ed072dcadda7f09350b86403a50a37c9d21cac25ebffb51b01d055a8a | TypeScript | 16,174 | 257 | /**
* Disease- and trait-related constants for the disease/trait portal.
*/
export const DISEASE_CARDS = [
{
aliases: ["ADHD"],
val: "ADHD",
cardLabel: "Attention Deficit Hyperactive Disorder",
cardDesc: "Demontis… Børglum (2023) Nat. Genet.",
link: "https://doi.org/10.1038/s41588-022-01285-8",... |
b14a2903d30a9995f1385114d449b8bcf5a16684a744fe8598b5638d1be586df | TypeScript | 16,824 | 604 | /**
* Disease- and trait-related constants for the disease/trait portal.
*/
export const diseaseCT = {
ASD: [
{ val: "Astro", cardLabel: "Astrocytes", cardDesc: "" },
//{ val: "Chandelier", cardLabel: "Chandelier", cardDesc: "" },
{ val: "Endo", cardLabel: "Endothelial cells", cardDesc: "" },
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.