---
title: "FAQs"
output: rmarkdown::html_vignette
vignette: >
  %\VignetteIndexEntry{FAQs}
  %\VignetteEngine{knitr::rmarkdown}
  %\VignetteEncoding{UTF-8}
---

## I have multiple plate layout files. How can I input them? 

Use the `getPlateLayout()` function to create a master plate layout file to then input into the other functions in the package! 

```{r}
#| exec: false 
#| eval: false
getPlateLayout("your/folder/with/plate/layouts/")
```

Here replace "your/folder/with/plate/layouts/" with the main file that contains your folders. For example, if your folder looks like this: 

```bash
my_R_project/
└── raw_data_files/
    ├── plate_1/
    │   ├── raw_magpix_data_plate1.csv
    │   └── plate_layout_1.xlsx
    ├── plate_2/
    │   ├── raw_magpix_data_plate2.csv
    │   └── plate_layout_2.xlsx
    └── plate_3/
        ├── raw_magpix_data_plate3.csv
        └── plate_layout_3.xlsx
```

you would write: 

```{r}
#| exec: false 
#| eval: false
getPlateLayout("raw_data_files/")
```

you could ALSO write: 

```{r}
#| exec: false 
#| eval: false
getPlateLayout()
```

OR: 

```{r}
#| exec: false
#| eval: false
getPlateLayout(folder_path = c("plate_layout_1.xlsx", "plate_layout_2.xlsx", "plate_layout_3.xlsx"))
```
