Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export data as fcs files containing community_id data #8

Open
Stein-ErikG opened this issue Apr 25, 2019 · 0 comments
Open

Export data as fcs files containing community_id data #8

Stein-ErikG opened this issue Apr 25, 2019 · 0 comments

Comments

@Stein-ErikG
Copy link

Hi,

I want to use the community clustering (by vite) to make a set of landmark files for a second map. I could not find the community id in the rds data generated by vite. Is it possible to generate fcs files with this information?

I used the following code to make the fcs files;

rdsfilelist <- list.files("path-to-data/",
full.names = TRUE)

for (i in 1:length(rdsfilelist)){
tempdata <- readRDS(rdsfilelist[i])
data <- rbind(data, tempdata)
}

flow.frame <- as_flowFrame(as.matrix(data))
write_flowFrame(flow.frame, "you_file.fcs")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant