Skip to content

Commit

Permalink
higher quality readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
eonurk committed Oct 1, 2024
1 parent 4dcf11d commit 051970a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ cat(output)
```
</details>

```{r echo=FALSE}
```{r echo=FALSE, warning=FALSE}
# Load necessary package for parsing JSON
library(jsonlite)
Expand Down Expand Up @@ -197,11 +197,11 @@ DimPlot(pbmc, label = T, repel = T, label.size = 3) + theme_void() + theme(aspec


## Using OpenAI API
You can also use OpenAI for annotating your cell types.

> [!WARNING]\
> This will send data to OpenAI!
You can also use OpenAI for annotating your cell types.
First, you can to create a `.Renviron` file where you keep your API key.
`OPENAI_API_KEY="Best_key_ever"`

Expand Down
17 changes: 4 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1376,15 +1376,6 @@ Thinking…

</details>

## Warning: package 'jsonlite' was built under R version 4.2.3

##
## Attaching package: 'jsonlite'

## The following object is masked from 'package:purrr':
##
## flatten

## T-cells (Confidence: 95)
## Monocytes (Confidence: 100)
## CD8+ T Cells (Confidence: 98)
Expand All @@ -1408,12 +1399,11 @@ DimPlot(pbmc, label = T, repel = T, label.size = 3) + theme_void() + theme(aspec

## Using OpenAI API

You can also use OpenAI for annotating your cell types.

> \[!WARNING\]
> This will send data to OpenAI!
First, you can to create a `.Renviron` file where you keep your API key.
You can also use OpenAI for annotating your cell types. First, you can
to create a `.Renviron` file where you keep your API key.
`OPENAI_API_KEY="Best_key_ever"`

``` r
Expand All @@ -1436,7 +1426,8 @@ res.openai <-

## >> Response: B cell

## >> Response: Cytotoxic T lymphocytes (CTLs)
## >> Response: Cytotoxic T lymphocyte (CTL)

## >> Response: Cytotoxic T lymphocytes (CTLs)

## >> Response: Monocyte/Macrophage
Expand Down
Binary file modified README_files/figure-gfm/unnamed-chunk-8-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 051970a

Please sign in to comment.